Commit 424a56c6 authored by Brad King's avatar Brad King
Browse files

BUG: error_log function should return 1 to stop execution of rest of script.

parent 20a742ba
......@@ -48,7 +48,8 @@ usage()
error_log()
{
echo "An error has been logged to $1:" &&
cat "$1"
cat "$1" &&
return 1
}
#-----------------------------------------------------------------------------
......
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