Only source '/lib/dracut-lib.sh' if it wasn't so far

Signed-off-by: Sören Tempel <soeren+git@soeren-tempel.net>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #3109
This commit is contained in:
Sören Tempel 2015-02-16 10:16:46 +01:00 committed by Brian Behlendorf
parent edbaf2455c
commit 01d01ef0ba
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
#!/bin/sh
. /lib/dracut-lib.sh
. /lib/dracut-zfs-lib.sh
ZFS_DATASET=""

View File

@ -1,6 +1,6 @@
#!/bin/sh
. /lib/dracut-lib.sh
command -v getarg >/dev/null || . /lib/dracut-lib.sh
OLDIFS="${IFS}"
NEWLINE="