scripts/deploy: fix broken "|| return 1"

This commit is contained in:
2025-05-17 16:44:24 +00:00
parent 9daacae794
commit c4824f8f78

View File

@@ -261,7 +261,7 @@ proc deployOneHost (; host, variant) {
if (doReboot and (not fail or doRebootForce)) {
info "rebooting $host"
destructive runOnTarget "$netHost" sane-reboot "$host" || return 1
destructive runOnTarget "$netHost" sane-reboot "$host"
}
if (fail) {