correct one of the error check regexp
This commit is contained in:
parent
c1341bd4f2
commit
5482bde2da
|
@ -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…
Reference in New Issue