From: Timo Sirainen Date: Sat, 1 Feb 2025 20:09:11 +0000 (+0200) Subject: master: Add suggestion to use "unlimited" for some service error messages X-Git-Tag: 2.4.1~241 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d947647069e5bb874ef777c080e031ff32d828a;p=thirdparty%2Fdovecot%2Fcore.git master: Add suggestion to use "unlimited" for some service error messages --- diff --git a/src/master/master-settings.c b/src/master/master-settings.c index 5db29c03db..263849f2d7 100644 --- a/src/master/master-settings.c +++ b/src/master/master-settings.c @@ -737,19 +737,22 @@ master_settings_ext_check(struct event *event, void *_set, } if (service->restart_request_count == 0) { *error_r = t_strdup_printf("service(%s): " - "restart_request_count must be higher than 0", + "restart_request_count must be higher than 0 " + "(did you mean \"unlimited\"?)", service->name); return FALSE; } if (service->idle_kill_interval == 0) { *error_r = t_strdup_printf("service(%s): " - "idle_kill_interval must be higher than 0", + "idle_kill_interval must be higher than 0 " + "(did you mean \"unlimited\"?)", service->name); return FALSE; } if (service->vsz_limit < 1024*1024) { *error_r = t_strdup_printf("service(%s): " - "vsz_limit is too low", service->name); + "vsz_limit is too low " + "(did you mean \"unlimited\"?)", service->name); return FALSE; }