diff --git a/cmds-device.c b/cmds-device.c index 6f32356b..bc4a8dcd 100644 --- a/cmds-device.c +++ b/cmds-device.c @@ -98,6 +98,7 @@ static int cmd_add_dev(int argc, char **argv) res = test_dev_for_mkfs(argv[i], force, estr); if (res) { fprintf(stderr, "%s", estr); + ret++; continue; }