Browse Source

correct one of the error check regexp

master
Zane C. B-H 1 year ago
parent
commit
5482bde2da
  1. 2
      Rex-Virtualization-CBSD/lib/Rex/Virtualization/CBSD/start.pm

2
Rex-Virtualization-CBSD/lib/Rex/Virtualization/CBSD/start.pm

@ -30,7 +30,7 @@ sub execute {
die('"'.$name.'" does not exist');
}
# check for failures caused by it already running
if ( $returned =~ /^already\ running/ ){
if ( $returned =~ /already\ running/ ){
die('"'.$name.'" is already running');
}
# test after no such as that will also exit non-zero

Loading…
Cancel
Save