mirror of
https://github.com/systemd/systemd
synced 2024-10-15 12:34:37 +00:00
test/TEST-18-FAILUREACTION: fix typo to actually run firstphase action
The if test for running the firstphase of the test should be negated so the firstphase is actually executed.
This commit is contained in:
parent
adcc450f46
commit
65c5f3d074
|
@ -5,7 +5,7 @@ set -o pipefail
|
|||
systemd-run --wait -p FailureAction=poweroff true
|
||||
! systemd-run --wait -p SuccessAction=poweroff false
|
||||
|
||||
if test -f /firstphase ; then
|
||||
if ! test -f /firstphase ; then
|
||||
echo OK > /firstphase
|
||||
systemd-run --wait -p SuccessAction=reboot true
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue