Werk #16400: omd restart: Exit Code is 2 on Failure

Komponente Site management
Titel omd restart: Exit Code is 2 on Failure
Datum 26.01.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p21 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p39 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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.

Zur Liste aller Werks