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

[Bacula-devel] bweb storage_cmd regex patch


Hello,

Please apply this regex patch to svn.


*** bacula/trunk/gui/bweb/lib/Bweb.pm	2008-11-06 12:53:35.000000000 +0100
--- /usr/lib/perl5/site_perl/5.8.8/Bweb.pm	2008-11-06 13:44:06.000000000 +0100
***************
*** 1877,1883 ****
      }
  
      if ($what{storage_cmd}) {
! 	if (!grep {/^\Q$ret{storage_cmd}$/} ('mount', 'umount', 'release','status')) {
  	    delete $ret{storage_cmd};
  	}
      }
--- 1877,1883 ----
      }
  
      if ($what{storage_cmd}) {
! 	if (!grep {/^\Q$ret{storage_cmd}\E$/} ('mount', 'umount', 'release','status')) {
  	    delete $ret{storage_cmd};
  	}
      }


BR
Ulrich
-- 
Ulrich Leodolter <ulrich.leodolter@xxxxxxxx>
OBVSG


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-devel


This mailing list archive is a service of Copilot Consulting.