Project

General

Profile

Actions

Feature #3456

closed

make exit code of ceph status commands status dependent

Added by Corin Langosch over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

When running for example "ceph health" it always returns an exit code of 0, no matter if the cluster is healthy or not. I'd be helpful for some scripts and tools (like cron) to return only 0 when the cluster is healthy, 1 otherwise.

Actions

Also available in: Atom PDF