Fix incorrect l vs 1
authorJamie Cameron <jcameron@webmin.com>
Wed, 2 Sep 2009 04:39:43 +0000 (21:39 -0700)
committerJamie Cameron <jcameron@webmin.com>
Wed, 2 Sep 2009 04:39:43 +0000 (21:39 -0700)
web-lib-funcs.pl

index cdadc98..fad7c38 100755 (executable)
@@ -7294,7 +7294,7 @@ else {
        elsif ($file =~ /^(>|>>|)nul$/i) {
                # Write to Windows null device
                &webmin_debug_log($1 eq ">" ? "WRITE" :
-                         $l eq ">>" ? "APPEND" : "READ", "nul") if ($db);
+                         $1 eq ">>" ? "APPEND" : "READ", "nul") if ($db);
                }
        elsif ($file =~ /^(>|>>)(\/dev\/.*)/ || lc($file) eq "nul") {
                # Writes to /dev/null or TTYs don't need to be handled