i3status-anyevent: if we cannot spawn - silently giveup
This commit is contained in:
@@ -650,9 +650,8 @@ sub spawn (@) {
|
|||||||
} else {
|
} else {
|
||||||
exec $prg;
|
exec $prg;
|
||||||
}
|
}
|
||||||
} else { # Unable to fork()
|
|
||||||
print STDERR "[{\"full_text\":\"ERROR: Could not fork new process: $!\",\"color\":\"#ff0000\"}],\n";
|
|
||||||
}
|
}
|
||||||
|
# else - we just unable to fork, so silently ignore event
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user