diff options
author | Brian Behlendorf <[email protected]> | 2022-10-20 11:28:48 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-10-20 11:37:21 -0700 |
commit | 7795975681736c7e76bb5303b28558dff8e4a14d (patch) | |
tree | 4c82f45916dace5f8fc6278ec8a810be8d5803b6 | |
parent | 3b935cc3ed8f83db72ea93a1310776cda44dcf66 (diff) |
contrib: dracut: zfs-snapshot-bootfs: exit status fix
Correct misplaced `-` is the original backport of #13769.
Signed-off-by: Brian Behlendorf <[email protected]>
Issue #13769
-rw-r--r-- | contrib/dracut/90zfs/zfs-snapshot-bootfs.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/dracut/90zfs/zfs-snapshot-bootfs.service.in b/contrib/dracut/90zfs/zfs-snapshot-bootfs.service.in index e04be784c..9e73d1a78 100644 --- a/contrib/dracut/90zfs/zfs-snapshot-bootfs.service.in +++ b/contrib/dracut/90zfs/zfs-snapshot-bootfs.service.in @@ -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 |