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:53:23 +0100 |
| commit | 5753269a807a0ca3b34e12596cdfa3e0362b250f (patch) | |
| tree | df7c2c72dd04d23fefcf9e26608dbedf0f6872b3 /src | |
| parent | fa426ed71009868ddeeab5339cd44beaf55b62fe (diff) | |
Exit with code 0 on dcpomatic2_create --version (#1599).
Diffstat (limited to 'src')
| -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) { |
