Exit with code 0 on dcpomatic2_create --version (#1599).
authorCarl Hetherington <cth@carlh.net>
Mon, 2 Sep 2019 23:53:23 +0000 (00:53 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 2 Sep 2019 23:53:23 +0000 (00:53 +0100)
src/tools/dcpomatic_create.cc

index 40d764c..3ab84d1 100644 (file)
@@ -76,7 +76,7 @@ main (int argc, char* argv[])
 
        if (cc.version) {
                cerr << "dcpomatic version " << dcpomatic_version << " " << dcpomatic_git_commit << "\n";
-               exit (1);
+               exit (EXIT_SUCCESS);
        }
 
        if (cc.config_dir) {