aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--capinfos.c2
-rw-r--r--captype.c2
-rw-r--r--reordercap.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/capinfos.c b/capinfos.c
index a6539cc672..572f8afb36 100644
--- a/capinfos.c
+++ b/capinfos.c
@@ -1720,7 +1720,7 @@ main(int argc, char *argv[])
fprintf(stderr, "(%s)\n", err_info);
g_free(err_info);
}
- overall_error_status = 1; /* remember that an error has occurred */
+ overall_error_status = 2; /* remember that an error has occurred */
if (!continue_after_wtap_open_offline_failure)
goto exit;
}
diff --git a/captype.c b/captype.c
index 133a8bf37e..1d83f573ef 100644
--- a/captype.c
+++ b/captype.c
@@ -210,7 +210,7 @@ main(int argc, char *argv[])
fprintf(stderr, "(%s)\n", err_info);
g_free(err_info);
}
- overall_error_status = 1; /* remember that an error has occurred */
+ overall_error_status = 2; /* remember that an error has occurred */
}
}
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));