sysvinit/startpar-0.56.dif

13 lines
330 B
Plaintext

--- startpar.c
+++ startpar.c 2010-08-24 12:33:01.061618653 +0000
@@ -464,7 +464,8 @@ void run(struct prg *p)
_exit(1);
}
TEMP_FAILURE_RETRY(dup2(1, 2));
- tio.c_oflag &= ~OPOST;
+ cfmakeraw(&tio);
+ tio.c_oflag |= ONLCR;
if (tcsetattr(1, TCSANOW, &tio))
perror("tcsetattr");
if (wzok)