Index: scripts/usr/local/bin/7dtd-instances.sh
===================================================================
--- scripts/usr/local/bin/7dtd-instances.sh	(revision 10)
+++ scripts/usr/local/bin/7dtd-instances.sh	(revision 11)
@@ -5,4 +5,5 @@
 # Returns:
 #  0
+
 . /usr/local/bin/7dtd-common.sh
 checkRootLoadConf
@@ -16,11 +17,12 @@
 	if [ $run -eq 1 ]; then
 		run="yes"
+		tel=$(telnetCommand $ins lp)
+		cur=`echo $tel | sed "s/\r/\n/g" | sed "s/^ //g" | grep "Total of " | cut -d\  -f 3`
 	else
 		run="no"
+		cur=0
 	fi
 
-	tel=$(telnetCommand $ins lp)
 	max=$(getConfigValue $ins ServerMaxPlayerCount)
-	cur=`echo $tel | sed "s/\r/\n/g" | sed "s/^ //g" | grep "Total of " | cut -d\  -f 3`
 	
 	printf "%-*s | %*s |   %2d/%2d\n" 20 "$ins" 8 "$run" $cur $max
Index: scripts/usr/local/bin/7dtd-kill.sh
===================================================================
--- scripts/usr/local/bin/7dtd-kill.sh	(revision 10)
+++ scripts/usr/local/bin/7dtd-kill.sh	(revision 11)
@@ -16,6 +16,10 @@
 res=$(isRunning $1)
 if [ $res -eq 1 ]; then
-	telnetCommand shutdown
-	start-stop-daemon --stop --pidfile $(getInstancePath $1)/7dtd.pid
+	telnetCommand $1 shutdown
+	sleep 1
+	res=$(isRunning $1)
+	if [ $res -eq 1 ]; then
+		start-stop-daemon --stop --pidfile $(getInstancePath $1)/7dtd.pid
+	fi
 	rm $(getInstancePath $1)/7dtd.pid
 	echo "Done"	
