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 authored and GitHub committed 2026-04-14 20:37:50 +08:00
1 parent 0894955895
commit f3e61a8ef4
1 file changed
+1 -1
+1 -1
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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.