25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

A few more... Fix epmd not in PATH (#484)(thanks to acediac)

This commit is contained in:
Badlop 2015-05-22 10:40:24 +02:00
parent b07cb1ed84
commit be6ac85f31

View File

@ -410,7 +410,7 @@ ctlexec()
# stop epmd if there is no other running node # stop epmd if there is no other running node
stop_epmd() stop_epmd()
{ {
$EPMD -names 2>/dev/null | grep -q name || epmd -kill >/dev/null $EPMD -names 2>/dev/null | grep -q name || $EPMD -kill >/dev/null
} }
# make sure node not already running and node name unregistered # make sure node not already running and node name unregistered