Better detect percents
authorJamie Cameron <jcameron@webmin.com>
Fri, 29 May 2009 19:18:16 +0000 (19:18 +0000)
committerJamie Cameron <jcameron@webmin.com>
Fri, 29 May 2009 19:18:16 +0000 (19:18 +0000)
software/csw-lib.pl

index 05342de..d067f7d 100644 (file)
@@ -39,7 +39,7 @@ do {
        &open_execute_command(PKGGET,
                "$pkg_get -i $flag ".quotemeta($update), 2);
        while(<PKGGET>) {
-               if (!/^\s*\d+\%\s+\[/) {
+               if (!/\s*\d+\%\s+\[/) {
                        # Output everything except download lines
                        print &html_escape($_);
                        }