summaryrefslogtreecommitdiff
path: root/utils/rd-group
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-10-01 17:07:37 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2015-10-01 17:07:37 (GMT)
commit8d815c3eed89242cee1f355ded4ca2a03fee2de3 (patch)
treebe986be75236d19a4d197a4e1ada6ca91a605911 /utils/rd-group
parent6f1943313a0e503189dd9685483a9ecd1bd7cc6e (diff)
add sanity chekcs for add show command args
Diffstat (limited to 'utils/rd-group')
-rwxr-xr-xutils/rd-group9
1 files changed, 5 insertions, 4 deletions
diff --git a/utils/rd-group b/utils/rd-group
index 3898b5e..246d450 100755
--- a/utils/rd-group
+++ b/utils/rd-group
@@ -21,13 +21,14 @@
#
use strict;
+use lib "../lib/";
use RHRD::rddb;
# this is ridiculous but makes it a little harder to create/remove users...
-if ($> != 0 ) {
- print STDERR "this must be run as root!\n";
- exit 1;
-}
+# if ($> != 0 ) {
+# print STDERR "this must be run as root!\n";
+# exit 1;
+# }
sub print_usage
{