[Pdbg] [PATCH 2/2] main: Exit 0 when printing version
Michael Neuling
mikey at neuling.org
Thu May 24 16:42:43 AEST 2018
Signed-off-by: Michael Neuling <mikey at neuling.org>
---
src/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
index acd38cafdf..fbe7be9e7a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -279,7 +279,7 @@ static bool parse_options(int argc, char *argv[])
case 'V':
printf("%s (commit %s)\n", PACKAGE_STRING, GIT_SHA1);
- exit(1);
+ exit(0);
break;
case 'E':
--
2.17.0
More information about the Pdbg
mailing list