]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-execute: check exit code before exit status
authorLennart Poettering <lennart@poettering.net>
Mon, 29 Apr 2019 10:54:26 +0000 (12:54 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 24 May 2019 08:48:28 +0000 (10:48 +0200)
commit18f8c5d4661195ac142d4e9554982ffbbe3b199e
tree9ba1aeb169ee321565995b441ac4bd3b25e13d01
parent727a1a06077ed8395f72a142b04f37d6058d381b
test-execute: check exit code before exit status

The meaning of the status changes depending on the code, hence let's
always compare the code first, status second.
src/test/test-execute.c