diff options
author | Iacopo Isimbaldi | 2017-08-19 20:50:28 +0100 |
---|---|---|
committer | Iacopo Isimbaldi | 2017-08-19 20:50:28 +0100 |
commit | 5d0cbbcec757159f7e116af7d815ca023b3ba193 (patch) | |
tree | d24876d06489e5bc676ba5df2341036a968d3383 /zfs.initcpio.hook | |
parent | dd12518d0124159044df4402ce09ed7cae19ca62 (diff) | |
parent | 95d950f33543e7201a06fd6fb46499f51ca14909 (diff) | |
download | aur-5d0cbbcec757159f7e116af7d815ca023b3ba193.tar.gz |
Merge branch 'zfs_stable' into zfs_git
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 222a7e18411b..7288ab8018b3 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" |