summaryrefslogtreecommitdiff
path: root/sal/systools
diff options
context:
space:
mode:
Diffstat (limited to 'sal/systools')
-rw-r--r--sal/systools/win32/kill/kill.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sal/systools/win32/kill/kill.cxx b/sal/systools/win32/kill/kill.cxx
index 68bdb46a1..32dce8301 100644
--- a/sal/systools/win32/kill/kill.cxx
+++ b/sal/systools/win32/kill/kill.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: kill.cxx,v $
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
* This file is part of OpenOffice.org.
*
@@ -380,7 +380,10 @@ int _tmain()
if ( IsValidHandle( hProcess ) )
{
- RaiseSignalEx( hProcess, sig );
+ if ( SIGKILL == sig )
+ TerminateProcess( hProcess, 255 );
+ else
+ RaiseSignalEx( hProcess, sig );
_tprintf( _T("Done\n") );
CloseHandle( hProcess );