diff options
Diffstat (limited to 'sal/osl/os2/diagnose.c')
-rw-r--r-- | sal/osl/os2/diagnose.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sal/osl/os2/diagnose.c b/sal/osl/os2/diagnose.c index eabb3eae5..8d63e2daa 100644 --- a/sal/osl/os2/diagnose.c +++ b/sal/osl/os2/diagnose.c @@ -124,7 +124,8 @@ sal_Bool SAL_CALL osl_assertFailedLine( const sal_Char* pszFileName, sal_Int32 n fputs(szMessage, stderr); - return sal_True; /* abort */ + char const * env = getenv( "SAL_DIAGNOSE_ABORT" ); + return ( ( env != NULL ) && ( *env != '\0' ) ); } /*----------------------------------------------------------------------------*/ |