Skip to content
Snippets Groups Projects
Commit fbfd52bf authored by Robert Ricci's avatar Robert Ricci
Browse files

Allow root to run it

parent 6506aee1
No related branches found
No related tags found
No related merge requests found
......@@ -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";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment