Don't mark restart http as failed if json returns false because it was not restarted (#6906)

This commit is contained in:
Mitchell van Bijleveld
2026-04-14 14:37:50 +02:00
committed by GitHub
parent 0894955895
commit f3e61a8ef4

View File

@@ -387,7 +387,7 @@ synology_dsm_deploy() {
if echo "$response" | grep '"restart_httpd":true' >/dev/null; then
_info "Restart HTTP services succeeded."
else
_info "Restart HTTP services failed."
_info "Restart HTTP services not necessary."
fi
_temp_admin_cleanup "$SYNO_USE_TEMP_ADMIN" "$SYNO_USERNAME"
_logout