aboutsummaryrefslogtreecommitdiffstats
path: root/src/gitjoe/rmuser.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gitjoe/rmuser.pl')
-rwxr-xr-xsrc/gitjoe/rmuser.pl8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gitjoe/rmuser.pl b/src/gitjoe/rmuser.pl
index e88ddfa..9753950 100755
--- a/src/gitjoe/rmuser.pl
+++ b/src/gitjoe/rmuser.pl
@@ -3,10 +3,6 @@
use strict;
use warnings;
use Term::ANSIColor;
-use constant {
- DASH_PATH => '/usr/local/bin/dash',
- RMUSER_PATH => '/usr/sbin/rmuser',
-};
sub main
{
@@ -20,9 +16,7 @@ sub main
}
my $usr = $ARGV[0];
system(
- DASH_PATH,
- '-c',
- RMUSER_PATH . " << EOF
+ "rmuser << EOF
" . $usr . "
y
y