]> git.sur5r.net Git - bacula/bacula/commitdiff
bweb: Fix bad regexp in btime
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 4 Nov 2010 16:55:21 +0000 (17:55 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 18 Nov 2010 17:42:50 +0000 (18:42 +0100)
gui/bweb/cgi/btime.pl

index 9cd8a7f64c4b69abfe1ffef81ff7545188013c1f..f264828f79834b8f22e929b6f18d010bbb311101 100755 (executable)
@@ -204,7 +204,7 @@ foreach my $elt (@$all)
 #          end   => $elt->[1],
 #      };
 #
-    } elsif ($elt->[2] =~ /(?:$regs{get_drive}) "([\w\d\s-\.]+)"/) {
+    } elsif ($elt->[2] =~ /(?:$regs{get_drive}) "([\w\d\s\-\.]+)"/) {
        $drive = $1;
 
     } elsif ($elt->[2] =~ /(?:$regs{data_despool_time}).*? = (\d+):(\d+):(\d+)/) {