Fix problem with --showcmd and callbacks that verify
[fio.git] / options.c
index caf89d3c64fccd29668c0b49814169fb784f523f..a20b5c5579ced11908a0074d29724ea203722094 100644 (file)
--- a/options.c
+++ b/options.c
@@ -777,6 +777,9 @@ static int str_directory_cb(void *data, const char fio_unused *str)
        struct thread_data *td = data;
        struct stat sb;
 
+       if (parse_dryrun())
+               return 0;
+
        if (lstat(td->o.directory, &sb) < 0) {
                int ret = errno;