tools: use the same error path in main()

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2015-09-14 10:39:00 +10:00
parent f2bbd411fe
commit 26f82c7ecc

View File

@@ -1248,8 +1248,7 @@ main(int argc, char **argv)
if (optind >= argc) {
usage();
ratbag_unref(ratbag);
return 1;
goto out;
}
if (options.flags & FLAG_VERBOSE_RAW)