diff options
author | Iacopo Isimbaldi <isiachi@rhye.it> | 2017-08-19 20:43:22 +0100 |
---|---|---|
committer | Iacopo Isimbaldi <isiachi@rhye.it> | 2017-08-19 20:43:22 +0100 |
commit | e44f8f56a7fc2778a583f7021cde14761c29ebc1 (patch) | |
tree | 5ee408f850669d7698761f520e34e5541a21df69 /zfs.initcpio.hook | |
parent | Updated to pkgver 0.7.1 (diff) | |
download | zfs-dkms-e44f8f56a7fc2778a583f7021cde14761c29ebc1.tar.xz |
Updated to pkgrel 2
Fixed typo in zfs.initcpio.hook
Diffstat (limited to 'zfs.initcpio.hook')
-rw-r--r-- | zfs.initcpio.hook | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zfs.initcpio.hook b/zfs.initcpio.hook index 222a7e1..7288ab8 100644 --- a/zfs.initcpio.hook +++ b/zfs.initcpio.hook @@ -39,7 +39,7 @@ zfs_mount_handler () { local pool="${ZFS_DATASET%%/*}" local rwopt_exp="${rwopt:-ro}" - if ! zpool list -H "${pool}" 2&>1 > /dev/null ; then + if ! zpool list -H "${pool}" 2>&1 > /dev/null ; then if [ ! "${rwopt_exp}" = "rw" ]; then msg "ZFS: Importing pool ${pool} readonly." ZPOOL_IMPORT_FLAGS="${ZPOOL_IMPORT_FLAGS} -o readonly=on" |