Commit fbfd52bf authored by Robert Ricci's avatar Robert Ricci

Allow root to run it

parent 6506aee1
......@@ -27,7 +27,7 @@ sub usage() {
exit 1;
}
if (!TBAdmin($UID)) {
if ($UID && !TBAdmin($UID)) {
die "*** $0:\n" .
" Sorry, only admins get to run this script\n";
}
......
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