Werk #16400: omd restart: Exit Code is 2 on Failure
Component | Site management |
Title | omd restart: Exit Code is 2 on Failure |
Date | Jan 26, 2024 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk Version | 2.1.0p39 2.2.0p21 2.3.0b1 2.4.0b1 |
Level | Trivial Change |
Class | Bug Fix |
Compatibility | Compatible - no manual interaction needed |
omd restart
executes omd start
and omd stop
, both of which can terminate with exit code zero
or two. Previously, the exit code of these commands would be ignored. omd restart
now reports the
worst exit code reported by the two commands.