summarylogtreecommitdiffstats
path: root/zfs.initcpio.hook
diff options
context:
space:
mode:
authorIacopo Isimbaldi2017-02-12 22:33:52 +0000
committerIacopo Isimbaldi2017-02-12 22:33:52 +0000
commit8c86abf3c155bcbf6489d43c9c2a91ae463dc025 (patch)
treee0f3bd4f81a958d5f6038fe8f413f5bd9980e6d3 /zfs.initcpio.hook
parent1802137c715c8cfc655b0a40ba970e4036f25bdd (diff)
downloadaur-8c86abf3c155bcbf6489d43c9c2a91ae463dc025.tar.gz
Updated to pkgver 0.6.5.9
Diffstat (limited to 'zfs.initcpio.hook')
-rw-r--r--zfs.initcpio.hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/zfs.initcpio.hook b/zfs.initcpio.hook
index 09d081f04b6..222a7e18411 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"