summaryrefslogtreecommitdiff
path: root/setup-user.in
diff options
context:
space:
mode:
authorMaxim Karasev <begs@disroot.org>2022-06-08 18:09:12 +0300
committerNatanael Copa <ncopa@alpinelinux.org>2022-06-28 10:46:27 +0000
commite8b27f95bf6e4aa263fcb0f67ee37cb0aab35f1d (patch)
tree7aac840af0fd0813e9d3cea81b022dd8ed35efa8 /setup-user.in
parent8b704f5f61933e6749cf6dad25127bc99c1b7681 (diff)
downloadalpine-conf-e8b27f95bf6e4aa263fcb0f67ee37cb0aab35f1d.zip
setup-user: fix non-interactive handling of ssh keys url
The script referenced the wrong variable.
Diffstat (limited to 'setup-user.in')
-rw-r--r--setup-user.in2
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="" ;;
*)