diff options
author | Hubert Plociniczak <hubert@lshift.net> | 2008-12-04 17:47:44 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert@lshift.net> | 2008-12-04 17:47:44 +0000 |
commit | 39a111c2a8006c62d21bd44cf260478aac683ebc (patch) | |
tree | a8e0edc5c6e278b563e3ff01f4d028ba2b17fcef | |
parent | 4bf9a4d1fe603282e3bfe9c4c0afc1dc9cb957eb (diff) | |
download | rabbitmq-server-39a111c2a8006c62d21bd44cf260478aac683ebc.tar.gz |
mnesia schema check script needs to identify correctlybgu19950
the nodename
-rwxr-xr-x | scripts/rabbitmq-mnesia-current | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/rabbitmq-mnesia-current b/scripts/rabbitmq-mnesia-current index 21f04f88..45f1a845 100755 --- a/scripts/rabbitmq-mnesia-current +++ b/scripts/rabbitmq-mnesia-current @@ -43,6 +43,7 @@ fi exec erl \ -pa "`dirname $0`/../ebin" \ -noshell \ + -sname ${NODENAME} \ -eval 'halt(case rabbit_mnesia:schema_current() of true -> 0; false -> 1 end).' \ -mnesia dir "\"${MNESIA_DIR}\"" \ -kernel error_logger '{file,"'/dev/null'"}' \ |