Bugzilla bug 119340: write the "selfserv: received SIGTERM" message to
standard output (fd 1) instead of standard error (fd 2) because the test script writes its output to standard output (with the echo command). git-svn-id: svn://10.0.0.236/trunk@113735 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
f23d8010bb
commit
bab3530e7f
@ -1380,7 +1380,7 @@ WaitForDebugger(void)
|
||||
static void sigterm_handler(int signum)
|
||||
{
|
||||
static char err_msg[] = "selfserv: received SIGTERM\n";
|
||||
write(2, err_msg, sizeof(err_msg) - 1);
|
||||
write(1, err_msg, sizeof(err_msg) - 1);
|
||||
_exit(1);
|
||||
}
|
||||
#endif /* LINUX */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user