diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-09-03 00:53:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-09-03 00:54:36 +0100 |
| commit | c4fc210e8d622bba2de83805bd85424946d95d0f (patch) | |
| tree | d2641a09c49d80fa80a6b31d7d842637edec0e3f | |
| parent | 446255b74f38f299c2e73260293dce291666fb73 (diff) | |
Exit with code 0 on dcpomatic2_create --version (#1599).
Backported from 5753269a807a0ca3b34e12596cdfa3e0362b250f in v2.15.x.
| -rw-r--r-- | src/tools/dcpomatic_create.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
