chiark / gitweb /
bus: use ENXIO as error condition when trying to exit a container when we are not...
authorLennart Poettering <lennart@poettering.net>
Sun, 10 Nov 2013 22:52:21 +0000 (23:52 +0100)
committerLennart Poettering <lennart@poettering.net>
Sun, 10 Nov 2013 22:54:55 +0000 (23:54 +0100)
commitf959af205add314dbe90f588723eabdc177956ed
tree186391d4aa27cf99e21e931f2c186874214cdc13
parentd23284faa9a4d78410b939d42d20b6da3e475f87
bus: use ENXIO as error condition when trying to exit a container when we are not in any

So far we used ENXIO whenever the user tried to read something from a
function that didn't carry the right type, and hence use the same error
here to indicate that what the user expected and what was in the message
didn't match up.
src/libsystemd-bus/bus-message.c