aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/zpool-config/scsi_debug-noraid.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/zpool-config/scsi_debug-noraid.sh')
-rw-r--r--scripts/zpool-config/scsi_debug-noraid.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/zpool-config/scsi_debug-noraid.sh b/scripts/zpool-config/scsi_debug-noraid.sh
index dfcf1586c..c508ffbf1 100644
--- a/scripts/zpool-config/scsi_debug-noraid.sh
+++ b/scripts/zpool-config/scsi_debug-noraid.sh
@@ -33,8 +33,8 @@ zpool_create() {
${PARTED} -s ${SDDEVICE} mklabel gpt || \
(${RMMOD} scsi_debug && die "Error $? creating gpt label")
- msg "${ZPOOL} create ${FORCE_FLAG} ${ZPOOL_NAME} ${SDDEVICE}"
- ${ZPOOL} create ${FORCE_FLAG} ${ZPOOL_NAME} ${SDDEVICE} || \
+ msg "${ZPOOL} create ${ZPOOL_FLAGS} ${ZPOOL_NAME} ${SDDEVICE}"
+ ${ZPOOL} create ${ZPOOL_FLAGS} ${ZPOOL_NAME} ${SDDEVICE} || \
(${RMMOD} scsi_debug && exit 1)
}