]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/cgi-bin/captive.cgi
captive.cgi: Use new system methods
[ipfire-2.x.git] / 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);