Script now prompts for root
This commit is contained in:
parent
54a456c0cf
commit
979ba9796a
@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
#if [[ $EUID -ne 0 ]]; then
|
||||
# echo "This script must be run as root"
|
||||
# exit 1
|
||||
#fi
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
echo "This script must be run as root"
|
||||
exit 1
|
||||
fi
|
||||
CURRENTDIR=`pwd`
|
||||
ENVDIR=$CURRENTDIR"/env"
|
||||
WORKINGDIR=$CURRENTDIR"/paste"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user