mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
TEST-18-FAILUREACTION: Exit with 123 on success
mkosi expects the virtual machine/container to exit with exit status 123 on success so let's make sure that's the case.
This commit is contained in:
@@ -11,7 +11,7 @@ if ! test -f /firstphase ; then
|
||||
systemd-run --wait -p SuccessAction=reboot true
|
||||
else
|
||||
echo OK >/testok
|
||||
systemd-run --wait -p FailureAction=poweroff false
|
||||
systemd-run --wait -p FailureAction=exit -p FailureActionExitStatus=123 false
|
||||
fi
|
||||
|
||||
sleep infinity
|
||||
|
||||
Reference in New Issue
Block a user