Page MenuHomeFreeBSD

D41413.id125901.diff
No OneTemporary

D41413.id125901.diff

diff --git a/usr.sbin/jls/jls.c b/usr.sbin/jls/jls.c
--- a/usr.sbin/jls/jls.c
+++ b/usr.sbin/jls/jls.c
@@ -40,7 +40,6 @@
#include <arpa/inet.h>
#include <netinet/in.h>
-#include <err.h>
#include <errno.h>
#include <jail.h>
#include <limits.h>
@@ -92,7 +91,7 @@
argc = xo_parse_args(argc, argv);
if (argc < 0)
- exit(1);
+ exit(EXIT_FAILURE);
xo_set_version(JLS_XO_VERSION);
jname = NULL;
@@ -251,8 +250,9 @@
}
xo_close_list("jail");
xo_close_container("jail-information");
- xo_finish();
- return (0);
+ if (xo_finish() < 0)
+ xo_err(EXIT_FAILURE, "stdout");
+ exit(EXIT_SUCCESS);
}
static int

File Metadata

Mime Type
text/plain
Expires
Wed, Jul 22, 7:57 AM (17 m, 12 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35355129
Default Alt Text
D41413.id125901.diff (635 B)

Event Timeline