diff options
Diffstat (limited to 'contrib/dracut/90zfs/zfs-needshutdown.sh.in')
-rwxr-xr-x | contrib/dracut/90zfs/zfs-needshutdown.sh.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/dracut/90zfs/zfs-needshutdown.sh.in b/contrib/dracut/90zfs/zfs-needshutdown.sh.in index ddd3edae0014..dd6de30c2704 100755 --- a/contrib/dracut/90zfs/zfs-needshutdown.sh.in +++ b/contrib/dracut/90zfs/zfs-needshutdown.sh.in @@ -1,6 +1,6 @@ -#!/bin/bash +#!/bin/sh -type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh +command -v getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh if zpool list 2>&1 | grep -q 'no pools available' ; then info "ZFS: No active pools, no need to export anything." |