Minor fix in output: Do not display error messages on stdout.

This commit is contained in:
Christoph Niethammer 2012-07-02 11:14:24 +00:00
parent 983d9b5708
commit 8c5cb76bb0

View file

@ -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