diff options
author | Chris Severance | 2021-01-18 03:40:05 -0500 |
---|---|---|
committer | Chris Severance | 2021-01-18 03:40:05 -0500 |
commit | bfa0582efd3ef5244c4544670aac0d3a2eaa63c6 (patch) | |
tree | 3c1227e6ab71e82b16bf2a79479a5e4c593f067e /zfs.initcpio.hook | |
parent | 8a2a8b2c6f623a3e27c9d2796da22578cca9662a (diff) | |
download | aur-bfa0582efd3ef5244c4544670aac0d3a2eaa63c6.tar.gz |
autu: Update to 2.0.0.rc1.r315.gdc303dcf5b-1
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 7288ab8018b3..e0f4cfb386ca 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}" >/dev/null 2>&1; then if [ ! "${rwopt_exp}" = "rw" ]; then msg "ZFS: Importing pool ${pool} readonly." ZPOOL_IMPORT_FLAGS="${ZPOOL_IMPORT_FLAGS} -o readonly=on" |