From: Peter Powell Date: Sat, 19 Mar 2016 20:00:37 +0000 (+0000) Subject: Fix 'cron' and 'restart' in the helper not forwarding arguments. X-Git-Tag: v2.0.23~21^2 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=8aced446613e3d68a0c1666edcc0e8817ae2f812;hp=4f8697d0ce29097583b417b676c73d31349b056f;p=user%2Fhenk%2Fcode%2Finspircd.git Fix 'cron' and 'restart' in the helper not forwarding arguments. --- diff --git a/make/template/inspircd b/make/template/inspircd index 7cd83a8e1..b43ad60c9 100644 --- a/make/template/inspircd +++ b/make/template/inspircd @@ -135,7 +135,7 @@ sub cmd_rehash() sub cmd_cron() { - if (getstatus() == 0) { goto &cmd_start(); } + if (getstatus() == 0) { goto &cmd_start(@_); } exit(); } @@ -149,7 +149,7 @@ sub cmd_restart(@) { cmd_stop(); unlink($pidfile) if (-e $pidfile); - goto &cmd_start; + goto &cmd_start(@_); } sub hid_cheese_sandwich()