We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b005b4f commit 7b89ff8Copy full SHA for 7b89ff8
fencing/commands.c
@@ -829,7 +829,10 @@ xml2device_params(const char *name, xmlNode *dev)
829
crm_warn("%s has '%s' parameter, which should never be specified in configuration",
830
name, STONITH_ATTR_ACTION_OP);
831
832
- if (strcmp(value, "reboot") == 0) {
+ if (*value == '\0') {
833
+ crm_warn("Ignoring empty '%s' parameter", STONITH_ATTR_ACTION_OP);
834
+
835
+ } else if (strcmp(value, "reboot") == 0) {
836
crm_warn("Ignoring %s='reboot' (see stonith-action cluster property instead)",
837
STONITH_ATTR_ACTION_OP);
838
0 commit comments