Znuny/Znuny LTS is a fork of the ((OTRS)) Community Edition, one of the most flexible web-based ticketing systems used for Customer Service, Help Desk, IT Service Management.
When otrs.Daemon.pl daemon process receives INT signal to terminate (i.e. from "otrs.Daemon.pl stop" command) it exits with code 1 not 0 as it should. This mod fixes it.
To reproduce try starting with --foreground option introduced in https://github.com/znuny/Znuny/pull/399 and then stopping daemon and watch daemon process exit code.
Type of change
'1 - 🐞 bug 🐞' - Bugfix (non-breaking change which fixes an issue)
Proposed change
When otrs.Daemon.pl daemon process receives INT signal to terminate (i.e. from "otrs.Daemon.pl stop" command) it exits with code 1 not 0 as it should. This mod fixes it.
To reproduce try starting with --foreground option introduced in https://github.com/znuny/Znuny/pull/399 and then stopping daemon and watch daemon process exit code.
Type of change
Additional information
Related: https://github.com/znuny/Znuny/pull/109#issuecomment-910001106 Related: https://github.com/znuny/Znuny/pull/399 Author-Change-Id: IB#1110219
Checklist