goaccess/0001-Fix-usage-exit-code.patch

26 lines
545 B
Diff
Raw Permalink Normal View History

From 40522f4cb1b4825a168639563aa0ff3750a0d393 Mon Sep 17 00:00:00 2001
From: baizg1107 <preloyalwhite@163.com>
Date: Fri, 8 Oct 2021 18:34:35 +0800
Subject: [PATCH] Fix usage exit code
---
src/options.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/options.c b/src/options.c
index cea991f..9025914 100644
--- a/src/options.c
+++ b/src/options.c
2023-04-17 14:00:39 +08:00
@@ -347,7 +347,7 @@
"\n\n"
, INFO_HELP_EXAMPLES, INFO_MORE_INFO, GO_WEBSITE
);
- exit (EXIT_FAILURE);
+ exit (EXIT_SUCCESS);
}
/* *INDENT-ON* */
--
2.27.0