From 58ae741cbd1d0a066057332ea2ada7e285a2fa3c Mon Sep 17 00:00:00 2001 From: philsmd Date: Thu, 18 Aug 2016 12:17:51 +0200 Subject: [PATCH] the actual changes for #461 :) --- src/hashcat.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/hashcat.c b/src/hashcat.c index 8c53bd49c..43eb1c735 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -7898,7 +7898,10 @@ int main (int argc, char **argv) if (wordlist_mode == WL_MODE_STDIN) { - status = 1; + // enable status (in stdin mode) whenever we do not use --stdout together with an outfile + + if (stdout_flag == 0) status = 1; + else if (outfile != NULL) status = 1; data.status = status; }