1

i3status-anyevent: if we cannot spawn - silently giveup

This commit is contained in:
eleksir
2021-02-21 16:40:14 +03:00
parent b287c84eed
commit 7a270291b1

View File

@@ -650,9 +650,8 @@ sub spawn (@) {
} else {
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;