aboutsummaryrefslogtreecommitdiffstats
path: root/reordercap.c
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2017-01-07 21:57:57 +0100
committerAnders Broman <a.broman58@gmail.com>2017-01-08 08:10:59 +0000
commitebd3dc6907c44d642a76f2a459395ffdb728143b (patch)
tree8fa9723c2eac923730294e4b6710792b0a0a889f /reordercap.c
parent6e29d874f8b5e6ebc59f661a0bb0dab8e56f122a (diff)
Fix exit code for non-existent file.
The patched command line utilities have been aligned to tshark behavior. Change-Id: I0cb764b37792e882e182681124341893b3958c59 Reviewed-on: https://code.wireshark.org/review/19580 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'reordercap.c')
-rw-r--r--reordercap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/reordercap.c b/reordercap.c
index 4f453dc464..b56fcfdeed 100644
--- a/reordercap.c
+++ b/reordercap.c
@@ -295,7 +295,7 @@ main(int argc, char *argv[])
fprintf(stderr, "(%s)\n", err_info);
g_free(err_info);
}
- exit(1);
+ exit(2);
}
DEBUG_PRINT("file_type_subtype is %d\n", wtap_file_type_subtype(wth));