mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-27 19:28:37 -06:00
BUG: error_log function should return 1 to stop execution of rest of script.
This commit is contained in:
@@ -48,7 +48,8 @@ usage()
|
||||
error_log()
|
||||
{
|
||||
echo "An error has been logged to $1:" &&
|
||||
cat "$1"
|
||||
cat "$1" &&
|
||||
return 1
|
||||
}
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user