diff options
Diffstat (limited to 'make/template')
-rw-r--r-- | make/template/inspircd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make/template/inspircd b/make/template/inspircd index c4e5bd202..0150bb994 100644 --- a/make/template/inspircd +++ b/make/template/inspircd @@ -172,7 +172,7 @@ sub cmd_rehash() { if (getstatus() == 1) { my $pid = getprocessid(); - system("kill -HUP $pid >/dev/null 2>&1"); + kill HUP => $pid; print "InspIRCd rehashed (pid: $pid).\n"; exit GENERIC_EXIT_SUCCESS; } else { |