diff options
author | Daniel Hansson <github@techandme.se> | 2018-08-05 18:05:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-05 18:05:45 +0300 |
commit | a315597991d44dceee84db72f89f924815726bc2 (patch) | |
tree | ef4b6ad5e8ccff32a95c18bf346efb16149f68f6 /static/adduser.sh | |
parent | 411da84e2234bf7e4fb5f2ecf058b806fe232fbe (diff) |
change to read the second arg instead
Diffstat (limited to 'static/adduser.sh')
-rw-r--r-- | static/adduser.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/adduser.sh b/static/adduser.sh index 513aae50..8552d284 100644 --- a/static/adduser.sh +++ b/static/adduser.sh @@ -34,6 +34,6 @@ The preferred user is 'ncadmin'." do sudo passwd "$NEWUSER" && break done - sudo -u "$NEWUSER" sudo bash "$1" + sudo -u "$NEWUSER" sudo bash "$2" fi fi |