scripts/deploy: fix broken "|| return 1"
This commit is contained in:
@@ -261,7 +261,7 @@ proc deployOneHost (; host, variant) {
|
|||||||
|
|
||||||
if (doReboot and (not fail or doRebootForce)) {
|
if (doReboot and (not fail or doRebootForce)) {
|
||||||
info "rebooting $host"
|
info "rebooting $host"
|
||||||
destructive runOnTarget "$netHost" sane-reboot "$host" || return 1
|
destructive runOnTarget "$netHost" sane-reboot "$host"
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fail) {
|
if (fail) {
|
||||||
|
Reference in New Issue
Block a user