diff options
Diffstat (limited to 'tdecore/kdebug.cpp')
-rw-r--r-- | tdecore/kdebug.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tdecore/kdebug.cpp b/tdecore/kdebug.cpp index 656edf6f9..d7b0372a6 100644 --- a/tdecore/kdebug.cpp +++ b/tdecore/kdebug.cpp @@ -298,7 +298,9 @@ static void kDebugBackend( unsigned short nLevel, unsigned int nArea, const char } case 2: // Shell { - write( 2, buf, strlen( buf ) ); //fputs( buf, stderr ); + if (write( 2, buf, strlen( buf ) ) < 0) { //fputs( buf, stderr ); + // ERROR + } break; } case 3: // syslog |