mirror of
https://github.com/tomav/docker-mailserver
synced 2025-08-31 06:15:28 +00:00
Fix changedetector restart loop (#2548)
* only restart changedetector, if exit is unexpected. * prevent supervisord from restarting changedetector on error --> endless loop * add quotes
This commit is contained in:
@@ -10,7 +10,7 @@ function _exit_with_error
|
||||
fi
|
||||
|
||||
_log 'error' 'Aborting'
|
||||
exit 1
|
||||
exit "${2:-1}"
|
||||
}
|
||||
|
||||
# `dms_panic` methods are appropriate when the type of error is a not recoverable,
|
||||
|
Reference in New Issue
Block a user