X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsite_avenger%2Fstandup.sh;h=c31a33d8390e0e11487dec439146a08e780d3cdb;hb=3f2094ce3b1ad41fb7f3cb14922a31fd557b6c2f;hp=7752c59cdfd95476c00c2f838eed5cd7c9701e85;hpb=b1875e41875c077b22203edf20dfebb3a836bac6;p=feisty_meow.git diff --git a/scripts/site_avenger/standup.sh b/scripts/site_avenger/standup.sh index 7752c59c..c31a33d8 100644 --- a/scripts/site_avenger/standup.sh +++ b/scripts/site_avenger/standup.sh @@ -47,11 +47,9 @@ elif [ -z "$app_dirname" ]; then print_instructions fi -#we will require sudo later. -#if [[ $EUID != 0 ]]; then -# echo "This script must be run as root or sudo." -# exit 1 -#fi +# force the sudo at the start of the script, rather than waiting halfway +# through to ask for access. +sudo bash -c 'echo sudo permissions acquired.' source "$WORKDIR/shared_site_mgr.sh"