[Forensics-changes] [yara] 274/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 0df7dae0860d60d1f853d8b21e16c56a46dad693
Author: plusvic <plusvic at gmail.com>
Date:   Thu May 12 18:01:59 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 051777b..8c0dc07 100644
--- a/yara.c
+++ b/yara.c
@@ -991,7 +991,7 @@ int main(
     args_print_usage(options, 35);
     printf("\nSend bug reports and suggestions to: %s.\n", PACKAGE_BUGREPORT);
 
-    return EXIT_FAILURE;
+    return EXIT_SUCCESS;
   }
 
   if (argc != 2)
diff --git a/yarac.c b/yarac.c
index 74a013a..34527e3 100644
--- a/yarac.c
+++ b/yarac.c
@@ -179,7 +179,7 @@ int main(
     args_print_usage(options, 25);
     printf("\nSend bug reports and suggestions to: %s.\n", PACKAGE_BUGREPORT);
 
-    return EXIT_FAILURE;
+    return EXIT_SUCCESS;
   }
 
   if (argc < 2)

-- 
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