From: Anthony Geay Date: Mon, 23 Aug 2021 05:25:42 +0000 (+0200) Subject: Fix error introduced at commit 8a3e9342f1985 when launching salome in terminal mode X-Git-Tag: V9_8_0a1~23 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=29d75a6d4c90cf7af93aba9b7aa4cce1b76892c9;p=modules%2Fkernel.git Fix error introduced at commit 8a3e9342f1985 when launching salome in terminal mode --- diff --git a/src/Container/SALOME_Container_Common.cxx b/src/Container/SALOME_Container_Common.cxx index 32e752574..b768a328d 100644 --- a/src/Container/SALOME_Container_Common.cxx +++ b/src/Container/SALOME_Container_Common.cxx @@ -130,7 +130,7 @@ void unexpectedHandler(void) int container_common_main(int argc, char* argv[], std::unique_ptr ns) { - setSSLMode(!ns->IsTrueNS()); + setSSLMode(ns?!ns->IsTrueNS():false); #ifdef _MPI_SEQ_CONTAINER_ #ifdef HAVE_MPI2 MPI_Init(&argc,&argv);