scripts/deploy: fix --reboot flag

This commit is contained in:
2024-07-28 17:54:49 +00:00
parent 1536a60a3d
commit 916ecc30d1

View File

@@ -156,7 +156,7 @@ deployOneHost() {
destructive runOnTarget "$host" sudo "$storePath/bin/switch-to-configuration" "$action" || return 1
if [ -n "$doReboot" ]; then
info "rebooting $host"
destructive runOnTarget "$host" sane-reboot
destructive runOnTarget "$host" sane-reboot "$host"
fi
fi
}