Commit 86dde127 authored by Mike Hibler's avatar Mike Hibler
Browse files

In killmode take an error return from frisbee to mean no daemon is running.

parent 41a1f238
......@@ -219,6 +219,11 @@ if (!open(FRIS, "$cmd 2>&1 |")) {
while (<FRIS>) {
if (/^error=(.*)$/) {
if ($1 != 0) {
# For killmode we take an error to mean no daemon is running
if ($killmode) {
$running = 0;
last;
}
Fatal("frisbee returned error=$1");
}
next;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment