usign-exec: return code fixes
authorMatthias Schiffer <mschiffer@universe-factory.net>
Sat, 16 May 2020 16:45:23 +0000 (18:45 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Sat, 16 May 2020 16:45:23 +0000 (18:45 +0200)
commit19f9e1917e1b458ed3b80d0d0295d62ae3ee3185
treeacf791350112041c65340b85634d6928ee525e25
parent077feb5b5824beb3af28385d350e2398ffe46f27
usign-exec: return code fixes

- WEXITSTATUS() should only be called when WIFEXITED() returns true
- Fix double WEXITSTATUS() in usign_f()

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
usign-exec.c