Skip to content

Commit

Permalink
update freshclam to match exit codes defined in freshclam.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rkubik authored and micahsnyder committed Sep 12, 2018
1 parent 048a88e commit d0b738a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS.md
Expand Up @@ -15,6 +15,7 @@ an assortment of minor fixes:
eliminates the need to generate documents (the PDF, HTML). Find the user
manual under docs/UserManual[.md].
- Backwards compatibility improvements for detecting the OpenSSL dependency.
- freshclam updated to match exit codes defined in the freshclam.1 man page.

## 0.100.1

Expand Down
2 changes: 1 addition & 1 deletion freshclam/freshclam.c
Expand Up @@ -723,7 +723,7 @@ main (int argc, char **argv)

cl_cleanup_crypto();

return (ret);
return ret > 1 ? ret : 0;
}

int is_valid_hostid(void)
Expand Down

0 comments on commit d0b738a

Please sign in to comment.