Salome HOME
spns #40183: if user login shell is not Bash, exit on error, instead of simply sendin...
[tools/sat.git] / src / fileEnviron.py
index dc8dc8070f5b340ad3162cd143e8d72bd1353b4c..9e98b3fd938d79e9273e731114810e0bbcc1df01 100644 (file)
@@ -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
 ##########################################################################
 #