Revision dd9e9f9c
b/lib/cmdlib.py | ||
---|---|---|
1603 | 1603 |
test = msg and not res.offline |
1604 | 1604 |
self._ErrorIf(test, self.ENODEHOOKS, node_name, |
1605 | 1605 |
"Communication failure in hooks execution: %s", msg) |
1606 |
if res.offline: |
|
1607 |
# No need to investigate payload if node is offline. |
|
1606 |
if res.offline or msg:
|
|
1607 |
# No need to investigate payload if node is offline or gave an error.
|
|
1608 | 1608 |
# override manually lu_result here as _ErrorIf only |
1609 | 1609 |
# overrides self.bad |
1610 | 1610 |
lu_result = 1 |
Also available in: Unified diff