Southclaws / sampctl

The Swiss Army Knife of SA:MP - vital tools for any server owner or library maintainer.
GNU General Public License v3.0
242 stars 34 forks source link

rcon exit makes sampctl restart the server again #161

Open Sunehildeep opened 6 years ago

Sunehildeep commented 6 years ago

Using rcon exit makes sampctl restart the server again It detects rcon exit as a server crash

===============================

     sscanf plugin unloaded.

 ===============================

Pawn.CMD plugin v3.1.4 by urShadow unloaded
WARN: crash loop backoff for 2s reason: <nil>
exit OR: received runtime error: received signal: interrupt
Southclaws commented 6 years ago

I'll need to do some tests to get this resolved:

If there is no difference between these, detecting how the server exited will be difficult.