mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 17:49:53 +00:00
fix(ssh-adduser): check if SSH_ADDUSER_AUTO is set
This commit is contained in:
@@ -61,7 +61,7 @@ main() {
|
||||
sudo -i -u "$my_new_user" sh -c "curl -fsSL '$WEBI_HOST/ssh-pubkey' | sh > /dev/null" ||
|
||||
sudo -i -u "$my_new_user" sh -c "wget -q -O - '$WEBI_HOST/ssh-pubkey' | sh > /dev/null"
|
||||
|
||||
if test -z "${SSH_ADDUSER_AUTO}"; then
|
||||
if test -z "${SSH_ADDUSER_AUTO:-}"; then
|
||||
echo ""
|
||||
echo "!! BREAKING CHANGE !!"
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user