correct one of the error check regexp

This commit is contained in:
Zane C. B-H 2020-04-14 01:00:41 -05:00
parent c1341bd4f2
commit 5482bde2da
1 changed files with 1 additions and 1 deletions

View File

@ -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