projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1875e4
)
better sudo approach for standup
author
Chris Koeritz
<fred@gruntose.com>
Wed, 15 Nov 2017 01:36:59 +0000
(20:36 -0500)
committer
Chris Koeritz
<fred@gruntose.com>
Wed, 15 Nov 2017 01:36:59 +0000
(20:36 -0500)
scripts/site_avenger/standup.sh
patch
|
blob
|
history
diff --git
a/scripts/site_avenger/standup.sh
b/scripts/site_avenger/standup.sh
index 7752c59cdfd95476c00c2f838eed5cd7c9701e85..c31a33d8390e0e11487dec439146a08e780d3cdb 100644
(file)
--- 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"