Simplify, tabstospaces() have already been called

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2022-05-06 07:57:07 +02:00
parent 4cdd5f8ccc
commit a179308819
+1 -1
View File
@@ -172,7 +172,7 @@ int tty_parse_args(char *cmd, struct tty *tty)
else
tty->args[tty->num++] = cmd;
cmd = strtok(NULL, " \t");
cmd = strtok(NULL, " ");
} while (cmd && tty->num < NELEMS(tty->args));
/* rescue shells are always notty */