From: Michael Tremer Date: Mon, 17 May 2021 18:32:50 +0000 (+0100) Subject: captive.cgi: Use new system methods X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=96fc0bb1af5d1c6e42505aa5eb1c1af4a13e7aed;p=people%2Fstevee%2Fipfire-2.x.git captive.cgi: Use new system methods Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/captive.cgi b/html/cgi-bin/captive.cgi index 51c5d45f2a..ce666381c1 100755 --- a/html/cgi-bin/captive.cgi +++ b/html/cgi-bin/captive.cgi @@ -64,7 +64,7 @@ my $errormessage=''; my $clients="${General::swroot}/captive/clients"; my %clientshash=(); my $settingsfile="${General::swroot}/captive/settings"; -unless (-e $settingsfile) { system("touch $settingsfile"); } +unless (-e $settingsfile) { &General::system("touch $settingsfile"); } &Header::getcgihash(\%cgiparams);