Use option '-o' after action for compatibility
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Igor Kozhukhov <igor@dilos.org>
Closes #10426
for badval in ${badvals[@]}
do
log_must zpool create $TESTPOOL $disk1
- log_mustnot zpool add $TESTPOOL -o ashift="$badval" $disk2
+ log_mustnot zpool add -o ashift="$badval" $TESTPOOL $disk2
# clean things for the next run
log_must zpool destroy $TESTPOOL
log_must zpool labelclear $disk1