Alejandro Colomar
88760598f0
src/sulogin.c: Invert logic to reduce indentation
...
Also, it was checking for >=0 for success, but since that code is for
opening a different tty as stdin, that was bogus. But since it's
guaranteed to be either 0 or -1, this commit doesn't add any code to
make sure it's 0 (i.e., we could say !=0 instead of ==-1). That's more
appropriate for a different commit.
Signed-off-by: Alejandro Colomar <alx@kernel.org >
2024-03-14 16:16:15 -05:00
..
2021-11-17 16:35:50 +01:00
2007-10-07 11:46:07 +00:00
2024-03-10 19:56:40 -05:00
2024-03-07 22:23:04 +01:00
2024-03-14 16:12:51 -05:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2024-03-14 16:12:51 -05:00
2024-03-10 19:56:40 -05:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2024-03-10 19:56:40 -05:00
2024-03-07 22:23:04 +01:00
2024-03-14 16:12:51 -05:00
2024-03-07 22:23:04 +01:00
2024-03-14 16:12:51 -05:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2024-03-14 16:16:15 -05:00
2024-03-07 22:23:04 +01:00
2023-12-04 11:45:09 +01:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2023-11-25 21:24:38 -06:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2024-03-10 19:56:40 -05:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2021-12-23 19:36:50 -06:00
2024-03-14 16:01:32 -05:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2024-03-07 22:23:04 +01:00
2024-03-10 19:56:40 -05:00
2023-02-09 10:03:03 -06:00
2024-03-14 16:16:15 -05:00
2024-03-14 16:12:51 -05:00
2024-03-14 16:12:51 -05:00
2024-03-14 16:12:51 -05:00
2024-03-08 10:24:15 -06:00