diff --git a/src/paslogbot.lpr b/src/paslogbot.lpr index 9685fa7..d572ab5 100644 --- a/src/paslogbot.lpr +++ b/src/paslogbot.lpr @@ -40,7 +40,7 @@ procedure SignalHandler(signal: longint; info: psiginfo; context: psigcontext); SIGTERM, SIGINT: begin if signal = SIGINT then WriteLn; - debug('Received termination signal'); + debug('Received termination signal.'); if Assigned(Application) then Application.Terminate; end; @@ -73,7 +73,7 @@ function ConsoleCtrlHandler(CtrlType: DWORD): BOOL; stdcall; case CtrlType of CTRL_C_EVENT, CTRL_BREAK_EVENT, CTRL_CLOSE_EVENT: begin - WriteLn('Received termination signal'); + debug('Received termination signal.'); if Assigned(Application) then Application.Terminate; Result := True;