From 5753269a807a0ca3b34e12596cdfa3e0362b250f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 3 Sep 2019 00:53:23 +0100 Subject: [PATCH] Exit with code 0 on dcpomatic2_create --version (#1599). --- src/tools/dcpomatic_create.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2