[Forensics-changes] [yara] 275/368: Fix issue #444

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:30:47 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.5.0
in repository yara.

commit 38384b790d7010caaaf5b9212c136075ce71e920
Author: plusvic <plusvic at gmail.com>
Date:   Thu May 12 18:02:29 2016 +0200

    Fix issue #444
    
    Return EXIT_SUCCESS instead of EXIT_FAILURE when --version or --help is passed to command-line tools.
---
 yara.c  | 2 +-
 yarac.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/yara.c b/yara.c
index 8c0dc07..03b706d 100644
--- a/yara.c
+++ b/yara.c
@@ -977,7 +977,7 @@ int main(
   if (show_version)
   {
     printf("%s\n", PACKAGE_STRING);
-    return EXIT_FAILURE;
+    return EXIT_SUCCESS;
   }
 
   if (show_help)
diff --git a/yarac.c b/yarac.c
index 34527e3..b988c4c 100644
--- a/yarac.c
+++ b/yarac.c
@@ -169,7 +169,7 @@ int main(
   if (show_version)
   {
     printf("%s\n", PACKAGE_STRING);
-    return EXIT_FAILURE;
+    return EXIT_SUCCESS;
   }
 
   if (show_help)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list