diff options
author | Matthew Sackman <matthew@lshift.net> | 2010-03-15 16:35:57 +0000 |
---|---|---|
committer | Matthew Sackman <matthew@lshift.net> | 2010-03-15 16:35:57 +0000 |
commit | 36ae4c1bd07bc6b15565b005d034d21056b518a3 (patch) | |
tree | 7834e29926a83e0e3c2aa2c5afed960c7cfd9073 /packaging | |
parent | d3ccc84bbdbf5d6c405738912b1cacd553562437 (diff) | |
download | rabbitmq-server-36ae4c1bd07bc6b15565b005d034d21056b518a3.tar.gz |
Cosmetics, and remove bashish -a to generic -e (semantic preserving)
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/common/rabbitmq-server.ocf | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packaging/common/rabbitmq-server.ocf b/packaging/common/rabbitmq-server.ocf index 860fac7c..d60bf9a7 100644 --- a/packaging/common/rabbitmq-server.ocf +++ b/packaging/common/rabbitmq-server.ocf @@ -209,12 +209,12 @@ rabbit_validate() { return $OCF_ERR_ARGS; fi - if [ ! -z $RABBITMQ_CLUSTER_CONFIG_FILE ] && [ ! -a $RABBITMQ_CLUSTER_CONFIG_FILE ]; then + if [ ! -z $RABBITMQ_CLUSTER_CONFIG_FILE ] && [ ! -e $RABBITMQ_CLUSTER_CONFIG_FILE ]; then ocf_log err "rabbitmq-server cluster_config_file $RABBITMQ_CLUSTER_CONFIG_FILE does not exist or is not a file"; return $OCF_ERR_ARGS; fi - if [ ! -z $RABBITMQ_CONFIG_FILE ] && [ ! -a $RABBITMQ_CONFIG_FILE ]; then + if [ ! -z $RABBITMQ_CONFIG_FILE ] && [ ! -e $RABBITMQ_CONFIG_FILE ]; then ocf_log err "rabbitmq-server config_file $RABBITMQ_CONFIG_FILE does not exist or is not a file"; return $OCF_ERR_ARGS; fi @@ -223,12 +223,12 @@ rabbit_validate() { ocf_log err "rabbitmq-server log_base $RABBITMQ_LOG_BASE does not exist or is not a directory"; return $OCF_ERR_ARGS; fi - + if [ ! -z $RABBITMQ_MNESIA_BASE ] && [ ! -d $RABBITMQ_MNESIA_BASE ]; then ocf_log err "rabbitmq-server mnesia_base $RABBITMQ_MNESIA_BASE does not exist or is not a directory"; return $OCF_ERR_ARGS; fi - + return $OCF_SUCCESS } @@ -274,7 +274,7 @@ rabbit_start() { fi sleep 2 done - + return $OCF_SUCCESS } @@ -303,7 +303,7 @@ rabbit_stop() { fi sleep 2 done - + return $OCF_SUCCESS } |