From: Nabil Ghodbane Date: Wed, 13 Dec 2023 20:20:28 +0000 (+0100) Subject: spns #40183: if user login shell is not Bash, exit on error, instead of simply sendin... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fspns%2F40183;p=tools%2Fsat.git spns #40183: if user login shell is not Bash, exit on error, instead of simply sending a warning. --- diff --git a/src/fileEnviron.py b/src/fileEnviron.py index dc8dc80..9e98b3f 100644 --- a/src/fileEnviron.py +++ b/src/fileEnviron.py @@ -744,9 +744,10 @@ then # check that the user is not using another shell echo echo "Warning! SALOME environment not initialized" - echo "You must run this script in a bash shell." + echo "You must run this script in a BASH shell." echo "As you are using another shell. Please first run: bash" echo + exit 1 fi ########################################################################## #