diff options
Diffstat (limited to 'src/gitjoe/rmuser.pl')
-rwxr-xr-x | src/gitjoe/rmuser.pl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gitjoe/rmuser.pl b/src/gitjoe/rmuser.pl index d9b056d..2840c65 100755 --- a/src/gitjoe/rmuser.pl +++ b/src/gitjoe/rmuser.pl @@ -3,6 +3,10 @@ use strict; use warnings; use Term::ANSIColor; +use constant { + DASH_PATH => '/usr/local/bin/dash', + RMUSER_PATH => '/usr/sbin/rmuser', +}; sub main { my $argc = $#ARGV + 1; @@ -15,9 +19,9 @@ sub main { } my $usr = $ARGV[0]; system( - '/usr/local/bin/dash', + DASH_PATH, '-c', - "rmuser << EOF + RMUSER_PATH . " << EOF " . $usr . " y y |