ipc: Improve error diagnostics for kill.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 16 Apr 2017 10:48:58 +0000 (12:48 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Wed, 26 Jul 2017 15:53:20 +0000 (17:53 +0200)
commit3910462d958e9d8163eafba74052fed01c88a5d3
treeab4a0a509c5c6a7d9cee682db4ff9e9af0524a7f
parentc9ca5b454afdc78770ead263d081a2b377cafbe8
ipc: Improve error diagnostics for kill.

If dss is not running, the kill command prints "No such file or
directory" because the call to semget(2) fails with ENOENT. This
message is a bit misleading, so let's return -E_NOT_RUNNING in this
case instead.
ipc.c