From: Carl Hetherington Date: Mon, 2 Sep 2019 23:53:23 +0000 (+0100) Subject: Exit with code 0 on dcpomatic2_create --version (#1599). X-Git-Tag: v2.15.17~5 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=5753269a807a0ca3b34e12596cdfa3e0362b250f Exit with code 0 on dcpomatic2_create --version (#1599). --- diff --git a/src/tools/dcpomatic_create.cc b/src/tools/dcpomatic_create.cc index 40d764c2b..3ab84d116 100644 --- a/src/tools/dcpomatic_create.cc +++ b/src/tools/dcpomatic_create.cc @@ -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) {