zzz_main.sh: fixed a synthax error
This commit is contained in:
@@ -310,7 +310,7 @@ process_commandline_and_vars()
|
|||||||
|
|
||||||
# Check for module list existance and basic syntax
|
# Check for module list existance and basic syntax
|
||||||
if [[ -n $MODULE_LIST ]]; then
|
if [[ -n $MODULE_LIST ]]; then
|
||||||
for $mod in $MODULE_LIST; do
|
for mod in $MODULE_LIST; do
|
||||||
if [[ $mod =~ ['-!@#$%\&*=+'] ]]; then
|
if [[ $mod =~ ['-!@#$%\&*=+'] ]]; then
|
||||||
prnt E "The module \"$mod\" contains a forbidden character in its name."
|
prnt E "The module \"$mod\" contains a forbidden character in its name."
|
||||||
die 5
|
die 5
|
||||||
|
|||||||
Reference in New Issue
Block a user