Exit with code 0 on dcpomatic2_create --version (#1599).
[dcpomatic.git] / src / tools / dcpomatic_create.cc
index 40d764c2b64e430e8c6fb6521d3fa760fd39571f..3ab84d1161dc9524e92dc6494bccd6a953ae1496 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) {