From 8c5cb76bb0c53deb9bb3962357a5e34b1cfdca8a Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Mon, 2 Jul 2012 11:14:24 +0000 Subject: [PATCH] Minor fix in output: Do not display error messages on stdout. --- check_modules.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_modules.sh b/check_modules.sh index 135f0d6..79c1372 100755 --- a/check_modules.sh +++ b/check_modules.sh @@ -25,7 +25,7 @@ for m in $(module av -t 2>&1); do else echo "failed" | tee -a $logfile failed_modules=(${failed_modules[@]} $m) - cat .module_load.log | tee -a $logfile + cat $module_load_logfile >> $logfile fi module purge 2>/dev/null rm -f $module_load_logfile