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

This commit is contained in:
Brad King 2003-01-15 19:24:00 -05:00
parent 20a742ba51
commit 424a56c6f7

View File

@ -48,7 +48,8 @@ usage()
error_log() error_log()
{ {
echo "An error has been logged to $1:" && echo "An error has been logged to $1:" &&
cat "$1" cat "$1" &&
return 1
} }
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------