mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 08:15:40 +02:00
log: pull in log.{c,h} from foot
This commit is contained in:
parent
58a52512dd
commit
7d3851046e
6 changed files with 197 additions and 118 deletions
|
@ -203,7 +203,7 @@ exposable_default_on_mouse(struct exposable *exposable, struct bar *bar,
|
|||
|
||||
if (WIFEXITED(wstatus)) {
|
||||
if (WEXITSTATUS(wstatus) != 0)
|
||||
LOG_ERRNO_P("%s: failed to execute", WEXITSTATUS(wstatus), exposable->on_click[btn]);
|
||||
LOG_ERRNO_P(WEXITSTATUS(wstatus), "%s: failed to execute", exposable->on_click[btn]);
|
||||
} else
|
||||
LOG_ERR("%s: did not exit normally", exposable->on_click[btn]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue