diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2011-07-15 11:02:54 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2011-07-15 11:02:54 +0100 |
commit | aaf68b204727137011d19e005ed911b6e1a9d766 (patch) | |
tree | f70773c18dc35425e0ede64de4e39d8405e7315d | |
parent | 9d9cf8321a391bab73c69d4f5be9259221973d62 (diff) | |
download | rabbitmq-server-aaf68b204727137011d19e005ed911b6e1a9d766.tar.gz |
Be more clear when pidfile read fails.
-rw-r--r-- | src/rabbit_control.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_control.erl b/src/rabbit_control.erl index ebc1ce54..180f4b2d 100644 --- a/src/rabbit_control.erl +++ b/src/rabbit_control.erl @@ -373,7 +373,7 @@ wait_and_read_pid_file(PidFile) -> {ok, Bin} -> string:strip(binary_to_list(Bin), right, $\n); {error, enoent} -> timer:sleep(500), wait_and_read_pid_file(PidFile); - {error, _} = E -> exit(E) + {error, _} = E -> exit({error, {could_not_read_pid, E}}) end. node_up(Node) -> |