diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-14 12:35:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-14 12:35:32 +0000 |
commit | 7b51850f6880c06498f89a1c42ef27d24e310c5f (patch) | |
tree | 3903452da338490795bfc6b37a2ef1dfd8504315 | |
parent | cf6ff4df42cb4166b402ba20488c47254a20ba57 (diff) | |
parent | 359f6e43d137a4d750e0e134eef1418a158eacf7 (diff) | |
download | rspamd-7b51850f6880c06498f89a1c42ef27d24e310c5f.tar.gz rspamd-7b51850f6880c06498f89a1c42ef27d24e310c5f.zip |
Merge pull request #2632 from apreiml/master
fix return code of rspamc
-rw-r--r-- | src/client/rspamc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/rspamc.c b/src/client/rspamc.c index 7f333f9d7..c52f615dc 100644 --- a/src/client/rspamc.c +++ b/src/client/rspamc.c @@ -2024,5 +2024,5 @@ main (gint argc, gchar **argv, gchar **env) } /* Mix retcode (return from Rspamd side) and ret (return from subprocess) */ - return ret ^ retcode; + return ret | retcode; } |