]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
pppsetup.cgi: Use new perl system functions
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 10 Jun 2021 13:35:56 +0000 (14:35 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 10 Jun 2021 13:35:56 +0000 (14:35 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/pppsetup.cgi

index 7597bfbc79f34f9392d3df84fcaef51d2696ddd1..c9c3d668a29ccc040eabc60b21508c5e37385898 100644 (file)
@@ -962,7 +962,7 @@ sub updatesettings
         unlink("${General::swroot}/ppp/settings");
         link("${General::swroot}/ppp/settings-$pppsettings{'PROFILE'}",
                 "${General::swroot}/ppp/settings");
-        system ("/usr/bin/touch", "${General::swroot}/ppp/updatesettings");
+        &General::system("/usr/bin/touch", "${General::swroot}/ppp/updatesettings");
 }
 
 sub writesecrets