]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Fix in storage command
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 6 Nov 2008 12:59:19 +0000 (12:59 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 6 Nov 2008 12:59:19 +0000 (12:59 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7989 91ce42f0-d328-0410-95d8-f526ca767f89

gui/bweb/lib/Bweb.pm
gui/bweb/technotes-2.3

index b81346e126488ad3b3b0ea40d2f42f799b39f724..37a1b97293d06db3741a42d53896bfe8d821eed5 100644 (file)
@@ -1877,7 +1877,7 @@ sub get_form
     }
 
     if ($what{storage_cmd}) {
-       if (!grep {/^\Q$ret{storage_cmd}$/} ('mount', 'umount', 'release','status')) {
+       if (!grep {/^\Q$ret{storage_cmd}\E$/} ('mount', 'umount', 'release','status')) {
            delete $ret{storage_cmd};
        }
     }
index cd6cf235fe75bae257a6caf3efbf867c2b2c4050..08fdef82585585ece229bad82a3f2ac2b49a5842 100644 (file)
@@ -1,5 +1,6 @@
 06Nov08
 ebl  Fix a Bconsole.pm with Expect bug on debian lenny
+ebl  Fix in storage command
 
 04Nov08
 ebl  Display all groups in display_stat page