fix shell syntax for copy-host-keys

This commit is contained in:
Ivan Trubach 2023-10-04 01:13:15 +03:00 committed by mergify[bot]
parent 60282db5c1
commit a8d94ffa9a

View File

@ -470,7 +470,7 @@ if [[ ${copy_host_keys-n} == "y" ]]; then
# or the destination already exists (e.g. copied with --extra-files).
if [ ! -e "\$p" -o -e "/mnt/\$p" ]; then
continue
end
fi
cp -a "\$p" "/mnt/\$p"
done
fi