From 01d01ef0babe0af113fef6bc52f99e5dbf5a5b3d Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=B6ren=20Tempel?= Date: Mon, 16 Feb 2015 10:16:46 +0100 Subject: [PATCH] Only source '/lib/dracut-lib.sh' if it wasn't so far MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Sören Tempel Signed-off-by: Brian Behlendorf Issue #3109 --- dracut/90zfs/mount-zfs.sh.in | 1 - dracut/90zfs/zfs-lib.sh.in | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/dracut/90zfs/mount-zfs.sh.in b/dracut/90zfs/mount-zfs.sh.in index 39beb9f70..2abc8766b 100755 --- a/dracut/90zfs/mount-zfs.sh.in +++ b/dracut/90zfs/mount-zfs.sh.in @@ -1,6 +1,5 @@ #!/bin/sh -. /lib/dracut-lib.sh . /lib/dracut-zfs-lib.sh ZFS_DATASET="" diff --git a/dracut/90zfs/zfs-lib.sh.in b/dracut/90zfs/zfs-lib.sh.in index a6ed4c3f4..1c223befd 100755 --- a/dracut/90zfs/zfs-lib.sh.in +++ b/dracut/90zfs/zfs-lib.sh.in @@ -1,6 +1,6 @@ #!/bin/sh -. /lib/dracut-lib.sh +command -v getarg >/dev/null || . /lib/dracut-lib.sh OLDIFS="${IFS}" NEWLINE=" -- 2.40.0