summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert@lshift.net>2008-12-04 17:47:44 +0000
committerHubert Plociniczak <hubert@lshift.net>2008-12-04 17:47:44 +0000
commit39a111c2a8006c62d21bd44cf260478aac683ebc (patch)
treea8e0edc5c6e278b563e3ff01f4d028ba2b17fcef
parent4bf9a4d1fe603282e3bfe9c4c0afc1dc9cb957eb (diff)
downloadrabbitmq-server-bgu19950.tar.gz
mnesia schema check script needs to identify correctlybgu19950
the nodename
-rwxr-xr-xscripts/rabbitmq-mnesia-current1
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'"}' \