X Tutup
Skip to content

Commit 716e6f4

Browse files
committed
units: use symbolic exit code names
(nspawn uses 133 which doesn't have a name. That's reasonable, because there's less chance of conflict with a return value from the payload.)
1 parent 148ffa2 commit 716e6f4

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

units/systemd-tmpfiles-clean.service.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ Before=shutdown.target
1818
[Service]
1919
Type=oneshot
2020
ExecStart=@rootbindir@/systemd-tmpfiles --clean
21-
SuccessExitStatus=65
21+
SuccessExitStatus=DATAERR
2222
IOSchedulingClass=idle

units/systemd-tmpfiles-setup-dev.service.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ Before=sysinit.target local-fs-pre.target systemd-udevd.service shutdown.target
1919
Type=oneshot
2020
RemainAfterExit=yes
2121
ExecStart=@rootbindir@/systemd-tmpfiles --prefix=/dev --create --boot
22-
SuccessExitStatus=65 73
22+
SuccessExitStatus=DATAERR CANTCREAT

units/systemd-tmpfiles-setup.service.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ RefuseManualStop=yes
2020
Type=oneshot
2121
RemainAfterExit=yes
2222
ExecStart=@rootbindir@/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev
23-
SuccessExitStatus=65 73
23+
SuccessExitStatus=DATAERR CANTCREAT

units/user/systemd-tmpfiles-clean.service.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ Before=basic.target shutdown.target
1717
[Service]
1818
Type=oneshot
1919
ExecStart=@rootbindir@/systemd-tmpfiles --user --clean
20-
SuccessExitStatus=65
20+
SuccessExitStatus=DATAERR
2121
IOSchedulingClass=idle

units/user/systemd-tmpfiles-setup.service.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RefuseManualStop=yes
1919
Type=oneshot
2020
RemainAfterExit=yes
2121
ExecStart=@rootbindir@/systemd-tmpfiles --user --create --remove --boot
22-
SuccessExitStatus=65
22+
SuccessExitStatus=DATAERR
2323

2424
[Install]
2525
WantedBy=basic.target

0 commit comments

Comments
 (0)
X Tutup