cttyhack: add missing ';'

init: remove pointless access() check
This commit is contained in:
Denis Vlasenko
2007-12-10 08:40:29 +00:00
parent 2afabe8b83
commit d7e2e127a9
2 changed files with 8 additions and 6 deletions

View File

@ -69,7 +69,7 @@ int cttyhack_main(int argc, char **argv)
dup2(fd, 2);
while (fd > 2) close(fd--);
/* Some other session may have it as ctty. Steal it from them */
ioctl(0, TIOCSCTTY, 1)
ioctl(0, TIOCSCTTY, 1);
}
BB_EXECVP(argv[0], argv);