diff --git a/src/test/check-install b/src/test/check-install index 6bb11c264..510915cc7 100755 --- a/src/test/check-install +++ b/src/test/check-install @@ -21,7 +21,7 @@ for script in "${scripts[@]}"; do done if [[ ${#missing_scripts[@]} -gt 0 ]]; then - echo "The following script(s) have no sudo access: ${missing_scripts[*]} . Try 'sudo -n ${missing_scripts[0]} --check'" + echo "The following script(s) have no sudo access: ${missing_scripts[*]} . Try 'BOX_ENV=test sudo -k -n ${missing_scripts[0]} --check'" echo -e "\nYou have to add the lines below to /etc/sudoers.d/yellowtent\n\n" for missing_script in "${missing_scripts[@]}"; do