Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <github@techandme.se>2018-08-05 18:05:45 +0300
committerGitHub <noreply@github.com>2018-08-05 18:05:45 +0300
commita315597991d44dceee84db72f89f924815726bc2 (patch)
treeef4b6ad5e8ccff32a95c18bf346efb16149f68f6 /static/adduser.sh
parent411da84e2234bf7e4fb5f2ecf058b806fe232fbe (diff)
change to read the second arg instead
Diffstat (limited to 'static/adduser.sh')
-rw-r--r--static/adduser.sh2
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