diff options
author | Ed Schouten <ed@FreeBSD.org> | 2009-12-03 21:44:41 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2009-12-03 21:44:41 +0000 |
commit | 9e9a895ea72ee828a873dbd0963d7aa27ac2e1cf (patch) | |
tree | a8983d18a77b468e4a363358094dfb1948d08b5b /libexec/ulog-helper | |
parent | eb27d7fb1cd34f79355b601588afbac239538809 (diff) | |
download | src-test2-9e9a895ea72ee828a873dbd0963d7aa27ac2e1cf.tar.gz src-test2-9e9a895ea72ee828a873dbd0963d7aa27ac2e1cf.zip |
Notes
Diffstat (limited to 'libexec/ulog-helper')
-rw-r--r-- | libexec/ulog-helper/ulog-helper.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libexec/ulog-helper/ulog-helper.c b/libexec/ulog-helper/ulog-helper.c index ecf65078b33e..eaef7780854e 100644 --- a/libexec/ulog-helper/ulog-helper.c +++ b/libexec/ulog-helper/ulog-helper.c @@ -68,12 +68,10 @@ main(int argc, char *argv[]) if (argc == 3) host = argv[2]; - if (ulog_login(line, pwd->pw_name, host) != 0) - return (EX_OSFILE); + ulog_login(line, pwd->pw_name, host); return (EX_OK); } else if (argc == 2 && strcmp(argv[1], "logout") == 0) { - if (ulog_logout(line) != 0) - return (EX_OSFILE); + ulog_logout(line); return (EX_OK); } |