t/zbd: avoid looping on invalid command line options
[fio.git] / t / zbd / test-zbd-support
index 05c009006f44de6d8b894eae4239a51e7032ed7b..1658dc25013be4c0714538bdd58fc2dcabeb03f8 100755 (executable)
@@ -1178,6 +1178,7 @@ while [ "${1#-}" != "$1" ]; do
     -q) quit_on_err=1; shift;;
     -z) zbd_debug=1; shift;;
     --) shift; break;;
+     *) usage; exit 1;;
   esac
 done