contrib: dracut: zfs-snapshot-bootfs: exit status fix
Correct misplaced `-` is the original backport of #13769. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #13769
This commit is contained in:
parent
3b935cc3ed
commit
7795975681
|
@ -8,5 +8,5 @@ ConditionKernelCommandLine=bootfs.snapshot
|
|||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
-ExecStart=/bin/sh -c '. /lib/dracut-zfs-lib.sh; decode_root_args || exit; [ "$root" = "zfs:AUTO" ] && root="$BOOTFS"; SNAPNAME="$(getarg bootfs.snapshot)"; exec @sbindir@/zfs snapshot "$root@${SNAPNAME:-%v}"'
|
||||
ExecStart=-/bin/sh -c '. /lib/dracut-zfs-lib.sh; decode_root_args || exit; [ "$root" = "zfs:AUTO" ] && root="$BOOTFS"; SNAPNAME="$(getarg bootfs.snapshot)"; exec @sbindir@/zfs snapshot "$root@${SNAPNAME:-%v}"'
|
||||
RemainAfterExit=yes
|
||||
|
|
Loading…
Reference in New Issue