瀏覽代碼

ENH: make all errors fatal in message command

Bill Hoffman 20 年之前
父節點
當前提交
0205c6bb1a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmMessageCommand.cxx

+ 1 - 1
Source/cmMessageCommand.cxx

@@ -72,7 +72,7 @@ bool cmMessageCommand::InitialPass(std::vector<std::string> const& args)
           cmSystemTools::Message(message.c_str());
         }
     }
-  if(fatal_error)
+  if(fatal_error || send_error)
     {
     cmSystemTools::SetFatalErrorOccured();
     }