]> git.proxmox.com Git - mirror_zfs-debian.git/blobdiff - scripts/zpool-config/scsi_debug-noraid.sh
Imported Upstream version 0.6.5.3
[mirror_zfs-debian.git] / scripts / zpool-config / scsi_debug-noraid.sh
index dfcf1586cc18f9260c6e250f1900bd1907b06752..c508ffbf1be4d1887910adbaac88a8a849e8e68f 100644 (file)
@@ -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)
 }