]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
captive.cgi: Use new system methods
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 17 May 2021 18:32:50 +0000 (19:32 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 10 Jun 2021 13:30:51 +0000 (14:30 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/captive.cgi

index 51c5d45f2a9bb6cedef74739d1f88f19ea87bebe..ce666381c16f82a0bb21889fce2c72c93df0f7c5 100755 (executable)
@@ -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);