add requirement for root user
This commit is contained in:
parent
7d78e23432
commit
e542b32947
@ -5,6 +5,8 @@ config_dir=/etc/advisorycircular
|
|||||||
run_dir=/var/lib/advisorycircular
|
run_dir=/var/lib/advisorycircular
|
||||||
user=advisorycircular
|
user=advisorycircular
|
||||||
|
|
||||||
|
if test `whoami` != root; then echo you must run this as root ; exit 1 ; fi
|
||||||
|
|
||||||
# Create install, config, and run directories if they doesn't exist.
|
# Create install, config, and run directories if they doesn't exist.
|
||||||
echo Creating directories
|
echo Creating directories
|
||||||
mkdir -p "$install_dir"
|
mkdir -p "$install_dir"
|
||||||
|
Loading…
Reference in New Issue
Block a user