[Pkg-sysvinit-devel] Bug#807311: init-d-script: do_reload_sigusr1 sends sighup, not sigusr1

Petter Reinholdtsen pere at hungry.com
Tue Dec 20 09:42:44 UTC 2016


[Robbie Harwood]
> As per this bug's original filing: do_reload_sigusr1() calls SIGHUP,
> not SIGUSR1.

Ah, right.  I missed that '--signal 1' ment 'SIGHUB'.  No idea why it is
so, given the function name.  And I wrote the code, many years ago, but
do not know if it changed in the mean time. :)

Renaming the function will break anyone doing the 'alias' trick, so any
changes should be done in a backwards compatible way, I believe.

Patches welcome. :)

-- 
Happy hacking
Petter Reinholdtsen



More information about the Pkg-sysvinit-devel mailing list