diff options
author | Maxim Karasev <begs@disroot.org> | 2022-06-08 18:09:12 +0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-06-28 10:46:27 +0000 |
commit | e8b27f95bf6e4aa263fcb0f67ee37cb0aab35f1d (patch) | |
tree | 7aac840af0fd0813e9d3cea81b022dd8ed35efa8 | |
parent | 8b704f5f61933e6749cf6dad25127bc99c1b7681 (diff) | |
download | alpine-conf-e8b27f95bf6e4aa263fcb0f67ee37cb0aab35f1d.zip |
setup-user: fix non-interactive handling of ssh keys url
The script referenced the wrong variable.
-rw-r--r-- | setup-user.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-user.in b/setup-user.in index 0801525..a94b533 100644 --- a/setup-user.in +++ b/setup-user.in @@ -109,7 +109,7 @@ if [ -n "$interactive" ] && [ -z "$keysopt" ]; then else case "$keysopt" in https://*|http://*) - sshkeys=$(wget -q -O- "$sshkeys" | grep ^ssh-);; + sshkeys=$(wget -q -O- "$keysopt" | grep ^ssh-);; none) sshkeys="" ;; *) |