diff options
author | ed <ed@FreeBSD.org> | 2009-12-03 21:44:41 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-12-03 21:44:41 +0000 |
commit | 460e546f241214c1f47aa4cee565ad528d7bbcf9 (patch) | |
tree | a8983d18a77b468e4a363358094dfb1948d08b5b /libexec | |
parent | 045df5c8fdab7f0a0ef81a4f67fbf3e1a645856f (diff) | |
download | FreeBSD-src-460e546f241214c1f47aa4cee565ad528d7bbcf9.zip FreeBSD-src-460e546f241214c1f47aa4cee565ad528d7bbcf9.tar.gz |
Repair breakage to last-minute API change.
I changed ulog_log{in,out} to return a void, but forgot to change
ulog-helper as well.
Reported by: stefanf
Diffstat (limited to 'libexec')
-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 ecf6507..eaef778 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); } |