Minor fix in output: Do not display error messages on stdout.
This commit is contained in:
parent
983d9b5708
commit
8c5cb76bb0
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ for m in $(module av -t 2>&1); do
|
||||||
else
|
else
|
||||||
echo "failed" | tee -a $logfile
|
echo "failed" | tee -a $logfile
|
||||||
failed_modules=(${failed_modules[@]} $m)
|
failed_modules=(${failed_modules[@]} $m)
|
||||||
cat .module_load.log | tee -a $logfile
|
cat $module_load_logfile >> $logfile
|
||||||
fi
|
fi
|
||||||
module purge 2>/dev/null
|
module purge 2>/dev/null
|
||||||
rm -f $module_load_logfile
|
rm -f $module_load_logfile
|
||||||
|
|
Loading…
Reference in a new issue