Commit 5763be52 authored by Don Armstrong's avatar Don Armstrong

just output the logfile if there's an error

parent 0b0975b7
......@@ -7,7 +7,8 @@ eval $1 > $2 2>&1
RetVal=$? # captures the return value of the command
if [ $RetVal -ne 0 ]; then
echo "Please check the logfile" $2 "for errors"
echo "Please check the logfile" $2 "for errors:"
cat $2
exit $RetVal
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment