mirror of
https://github.com/troglobit/finit.git
synced 2026-11-06 15:51:03 +00:00
Minor cleanup.
This commit is contained in:
1 parent
f96fb855ce
commit
4f2cf52eff
1 file changed
+1
-1
@@ -550,7 +550,7 @@ pid_t run_getty(char *cmd, char *args[], int console)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (console) {
|
if (console) {
|
||||||
i = write(STDERR_FILENO, msg, sizeof(msg) - 1);
|
i = write(STDERR_FILENO, msg, sizeof(msg));
|
||||||
while (read(STDIN_FILENO, &c, 1) == 1 && c != '\n')
|
while (read(STDIN_FILENO, &c, 1) == 1 && c != '\n')
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user