Fix invocation of write in interrupt handler
This commit is contained in:
parent
c4595f4035
commit
06fd8c58d7
|
@ -85,7 +85,7 @@ void InterruptHandler::handler(int signum)
|
|||
write(STDOUT_FILENO, "\n", 1);
|
||||
}
|
||||
if (EscapeCodes::enabled) {
|
||||
write(STDOUT_FILENO, "\e[1;33mWarning:\e[0m \e[1mSignal received, trying to abort ongoing process ...\e[0m\n", 84);
|
||||
write(STDOUT_FILENO, "\e[1;33mWarning:\e[0m \e[1mSignal received, trying to abort ongoing process ...\e[0m\n", 82);
|
||||
} else {
|
||||
write(STDOUT_FILENO, "Warning: Signal received, trying to abort ongoing process ...\n", 63);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue