From f57e1628f6d66dea2c212d7bfc17ce8e1bf2520b Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 10 Jun 2021 15:24:29 +0100 Subject: [PATCH] wakeonlan.cgi: Use new perl system functions Signed-off-by: Michael Tremer --- html/cgi-bin/wakeonlan.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/wakeonlan.cgi b/html/cgi-bin/wakeonlan.cgi index 289dc224a8..164cec2de1 100644 --- a/html/cgi-bin/wakeonlan.cgi +++ b/html/cgi-bin/wakeonlan.cgi @@ -171,7 +171,7 @@ if ( $cgiparams{'ACTION'} eq 'wakeup' ) undef %cgiparams; - system("/usr/sbin/etherwake -i $iface $mac"); + &General::system("/usr/sbin/etherwake", "-i", "$iface", "$mac"); # make a box with info, 'refresh' to normal screen after 5 seconds if ( $refresh eq 'yes' ) -- 2.39.5