mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 17:14:46 +02:00
Fix #0004826
Fixes #0004826: ./unrealircd stop always says unrealircd.pid: No such file https://bugs.unrealircd.org/view.php?id=4826
This commit is contained in:
+3
-1
@@ -63,7 +63,9 @@ elif [ "$1" = "stop" ] ; then
|
||||
exit 1
|
||||
fi
|
||||
sleep 1
|
||||
kill -9 `cat $PID_FILE` 1>/dev/null 2>&1
|
||||
if [ -r $PID_FILE ] ; then
|
||||
kill -9 `cat $PID_FILE` 1>/dev/null 2>&1
|
||||
fi
|
||||
elif [ "$1" = "rehash" ] ; then
|
||||
echo "Rehashing UnrealIRCd"
|
||||
if [ ! -r $PID_FILE ] ; then
|
||||
|
||||
Reference in New Issue
Block a user