Skip to content

Commit

Permalink
hooks/zfs: tiny clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
tokiclover committed Jan 3, 2019
1 parent 9d1fa50 commit b03a294
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hooks/zfs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# $Header: mkinitramfs-ll/hooks/zfs Exp $
# $Author: (c) 2011-2015 -tclover <[email protected]> Exp $
# $License: 2-clause/new/simplified BSD Exp $
# $Version: 0.22.1 2016/06/02 12:33:03 Exp $
# $Version: 0.22.1 2019/01/02 12:33:03 Exp $
#

[ -z "$zfs" ] && get_cmdline_option "zfs"
Expand All @@ -11,7 +11,7 @@
# @FUNCTION: dozfs
# @DESCRIPTION: import a zfs pool
# @USAGE: <env> <group> <device> <key> <zpool-options>
dozfs() {
mount_zfs() {
echo $$ >/run/${0##*/}.pid
local bin name=zfs
$CHECK_ENV && debug -d check_bin zfs spool
Expand Down Expand Up @@ -65,7 +65,7 @@ if [ -n "$resume" ]; then
retval=$(($?+$ratval))
fi
if [ -n "$root" ]; then
debug dozfs "ROOT" "1" "$root"
debug mount_zfs "ROOT" "1" "$root"
retval=$(($?+$retval))
fi

Expand Down

0 comments on commit b03a294

Please sign in to comment.