From 227a035f2aaa0f8f9d6e447ad5644bf318fde880 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 17 May 2021 19:50:59 +0100 Subject: [PATCH] gui.cgi: Use new system methods Signed-off-by: Michael Tremer --- html/cgi-bin/gui.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/cgi-bin/gui.cgi b/html/cgi-bin/gui.cgi index 1b316a2a21..820296fe25 100644 --- a/html/cgi-bin/gui.cgi +++ b/html/cgi-bin/gui.cgi @@ -70,7 +70,7 @@ if ($cgiparams{'ACTION'} eq "$Lang::tr{'save'}") # Set flag if index page is to refresh whilst ppp is up. # Default is NO refresh. if ($cgiparams{'REFRESHINDEX'} ne 'off') { - system ('/usr/bin/touch', "${General::swroot}/main/refreshindex"); + &General::system('/usr/bin/touch', "${General::swroot}/main/refreshindex"); } else { unlink "${General::swroot}/main/refreshindex"; } @@ -78,7 +78,7 @@ if ($cgiparams{'ACTION'} eq "$Lang::tr{'save'}") # Beep on ip-up or ip-down. Default is ON. if ($cgiparams{'PPPUPDOWNBEEP'} ne 'on') { $cgiparams{'PPPUPDOWNBEEP'} = 'off'; - system ('/usr/bin/touch', "${General::swroot}/red/nobeeps"); + &General::system('/usr/bin/touch', "${General::swroot}/red/nobeeps"); } else { unlink "${General::swroot}/red/nobeeps"; } -- 2.39.5