From: Francois-Xavier Le Bail Date: Fri, 4 Feb 2022 10:13:25 +0000 (+0100) Subject: Use more S_SUCCESS and S_ERR_HOST_PROGRAM in main() X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/2a5873120688f77c2a544b45b6c340324283d46b Use more S_SUCCESS and S_ERR_HOST_PROGRAM in main() --- diff --git a/tcpdump.c b/tcpdump.c index 73e09719..e028d2e7 100644 --- a/tcpdump.c +++ b/tcpdump.c @@ -2727,7 +2727,7 @@ DIAG_ON_ASSIGN_ENUM free(cmdbuf); pcap_freecode(&fcode); - exit_tcpdump(status == -1 ? 1 : 0); + exit_tcpdump(status == -1 ? S_ERR_HOST_PROGRAM : S_SUCCESS); } /*