Skip to content

Commit a8d94ff

Browse files
tiemergify[bot]
authored andcommitted
fix shell syntax for copy-host-keys
1 parent 60282db commit a8d94ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nixos-anywhere.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ if [[ ${copy_host_keys-n} == "y" ]]; then
470470
# or the destination already exists (e.g. copied with --extra-files).
471471
if [ ! -e "\$p" -o -e "/mnt/\$p" ]; then
472472
continue
473-
end
473+
fi
474474
cp -a "\$p" "/mnt/\$p"
475475
done
476476
fi

0 commit comments

Comments
 (0)