diff options
author | Joe <bousset.rudy@gmail.com> | 2022-04-26 20:14:46 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-04-26 20:14:46 +0200 |
commit | 57e42ba493ecc1838810bf608abb2f5feefe57f9 (patch) | |
tree | df3ff836fb0a3509e120432e6b80f0eadd240893 /src/gitjoe/rmuser.pl | |
parent | Even cleaner (diff) | |
download | joe-scripts-57e42ba493ecc1838810bf608abb2f5feefe57f9.tar.gz joe-scripts-57e42ba493ecc1838810bf608abb2f5feefe57f9.tar.bz2 joe-scripts-57e42ba493ecc1838810bf608abb2f5feefe57f9.tar.xz joe-scripts-57e42ba493ecc1838810bf608abb2f5feefe57f9.tar.zst joe-scripts-57e42ba493ecc1838810bf608abb2f5feefe57f9.zip |
Migrated
Diffstat (limited to 'src/gitjoe/rmuser.pl')
-rwxr-xr-x | src/gitjoe/rmuser.pl | 8 |
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 |