mirror of
https://github.com/troglobit/finit.git
synced 2026-11-09 16:21:24 +00:00
Simplify, tabstospaces() have already been called
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
4cdd5f8ccc
commit
a179308819
1 file changed
+1
-1
@@ -172,7 +172,7 @@ int tty_parse_args(char *cmd, struct tty *tty)
|
|||||||
else
|
else
|
||||||
tty->args[tty->num++] = cmd;
|
tty->args[tty->num++] = cmd;
|
||||||
|
|
||||||
cmd = strtok(NULL, " \t");
|
cmd = strtok(NULL, " ");
|
||||||
} while (cmd && tty->num < NELEMS(tty->args));
|
} while (cmd && tty->num < NELEMS(tty->args));
|
||||||
|
|
||||||
/* rescue shells are always notty */
|
/* rescue shells are always notty */
|
||||||
|
|||||||
Reference in new issue
Block a user