mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
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
This commit is contained in:
parent
eb27d7fb1c
commit
9e9a895ea7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=200085
|
@ -68,12 +68,10 @@ main(int argc, char *argv[])
|
||||||
if (argc == 3)
|
if (argc == 3)
|
||||||
host = argv[2];
|
host = argv[2];
|
||||||
|
|
||||||
if (ulog_login(line, pwd->pw_name, host) != 0)
|
ulog_login(line, pwd->pw_name, host);
|
||||||
return (EX_OSFILE);
|
|
||||||
return (EX_OK);
|
return (EX_OK);
|
||||||
} else if (argc == 2 && strcmp(argv[1], "logout") == 0) {
|
} else if (argc == 2 && strcmp(argv[1], "logout") == 0) {
|
||||||
if (ulog_logout(line) != 0)
|
ulog_logout(line);
|
||||||
return (EX_OSFILE);
|
|
||||||
return (EX_OK);
|
return (EX_OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue