Commit da3e4dee authored by Leigh B Stoller's avatar Leigh B Stoller

Bug Fix: This has to run as root or it fails. So add a check.

parent 4b9ecabc
......@@ -64,6 +64,10 @@ if (! getopts($optlist, \%options)) {
usage()
if (@ARGV);
if ($UID != 0) {
fatal("Must be root to run this script\n");
}
#
# This file must exist. Should probably be in the DB instead.
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment