]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix error introduced at commit 8a3e9342f1985 when launching salome in terminal mode
authorAnthony Geay <anthony.geay@edf.fr>
Mon, 23 Aug 2021 05:25:42 +0000 (07:25 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Mon, 23 Aug 2021 05:25:42 +0000 (07:25 +0200)
src/Container/SALOME_Container_Common.cxx

index 32e7525743281e3a083797ba4daec63c46a742ec..b768a328d3efbafd5b6e5252466ded1d46aa7c21 100644 (file)
@@ -130,7 +130,7 @@ void unexpectedHandler(void)
 
 int container_common_main(int argc, char* argv[], std::unique_ptr<SALOME_NamingService_Container_Abstract> ns)
 {
-  setSSLMode(!ns->IsTrueNS());
+  setSSLMode(ns?!ns->IsTrueNS():false);
 #ifdef _MPI_SEQ_CONTAINER_
   #ifdef HAVE_MPI2
   MPI_Init(&argc,&argv);