[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#299102: webmin-wvdial does not work. Missing semicolon in ppp-client-lib.pl



Package: webmin-wvdial
Version: 1.160-3

https://localhost:10000/wvdial/index.cgi

Error - Perl execution failed
syntax error at ./ppp-client-lib.pl line 286, near ")
			unlink"
Compilation failed in require at /usr/share/webmin/wvdial/index.cgi line
5.

Problem: missing semicolon.

Patch (also attached):

--- /tmp/ppp-client-lib.pl.orig 2005-03-11 20:09:40.874048312 +0100
+++ /usr/share/webmin/wvdial/ppp-client-lib.pl  2005-03-11
20:11:16.301541128 +0100
@@ -282,7 +282,7 @@ if ($connected && $autodns) {
                         }
                 if ($pst[9] >= $stime) {
                         # A PPP DNS config has been created .. use it
-                       &system_logged("cp $resolv_conf
$save_resolv_conf")
+                       &system_logged("cp $resolv_conf
$save_resolv_conf");
                         unlink($resolv_conf);
                         &system_logged("cp $ppp_resolv_conf
$resolv_conf");
                         if ($_[1] == 0) {

--- /tmp/ppp-client-lib.pl.orig 2005-03-11 20:09:40.874048312 +0100
+++ /usr/share/webmin/wvdial/ppp-client-lib.pl  2005-03-11
20:11:16.301541128 +0100
@@ -282,7 +282,7 @@ if ($connected && $autodns) {
                        }
                if ($pst[9] >= $stime) {
                        # A PPP DNS config has been created .. use it
-                       &system_logged("cp $resolv_conf $save_resolv_conf")
+                       &system_logged("cp $resolv_conf $save_resolv_conf");
                        unlink($resolv_conf);
                        &system_logged("cp $ppp_resolv_conf $resolv_conf");
                        if ($_[1] == 0) {

Reply to: