BUG: error_log function should return 1 to stop execution of rest of script.
This commit is contained in:
parent
20a742ba51
commit
424a56c6f7
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user