summaryrefslogtreecommitdiff
path: root/vcl/unx/source
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2002-06-12 15:49:01 +0000
committerPhilipp Lohmann <pl@openoffice.org>2002-06-12 15:49:01 +0000
commit75a9c89749b72bfea6a7c6ca41573ab791b2730e (patch)
tree860ff157b331799299016191efbad3f4d49fa5b5 /vcl/unx/source
parentca5aba7729b84af40222c285fd346784f7a5fd56 (diff)
#99776# do not forget to exit if exec fails
Diffstat (limited to 'vcl/unx/source')
-rw-r--r--vcl/unx/source/gdi/dtint.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/vcl/unx/source/gdi/dtint.cxx b/vcl/unx/source/gdi/dtint.cxx
index ec317dab1b99..3c92a3fe3c15 100644
--- a/vcl/unx/source/gdi/dtint.cxx
+++ b/vcl/unx/source/gdi/dtint.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dtint.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: pl $ $Date: 2002-06-10 17:27:28 $
+ * last change: $Author: pl $ $Date: 2002-06-12 16:49:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -271,6 +271,7 @@ bool DtIntegrator::StartSystemLookProcess( const char* pCommand )
dup2( nRedirect, STDERR_FILENO );
}
execl( aCommand.GetBuffer(), aCommand.GetBuffer(), "--vcl-system-settings-window", aArgWindow.GetBuffer(), NULL );
+ _exit(1);
}
return mnSystemLookCommandProcess != -1;
}