summaryrefslogtreecommitdiff
path: root/src/elogin
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-10 02:37:36 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-10 02:37:36 +0300
commit3b22392e73e52ffb2b001288ce9ab54101a03529 (patch)
tree5e76870a31c8587158c2401e9a9e89a08abce2c9 /src/elogin
parentcb10231838c918dbf380899a947599331818a4bc (diff)
downloadevol-hercules-3b22392e73e52ffb2b001288ce9ab54101a03529.tar.gz
evol-hercules-3b22392e73e52ffb2b001288ce9ab54101a03529.tar.bz2
evol-hercules-3b22392e73e52ffb2b001288ce9ab54101a03529.tar.xz
evol-hercules-3b22392e73e52ffb2b001288ce9ab54101a03529.zip
Add support for exit status code for pull and restart.
Diffstat (limited to 'src/elogin')
-rw-r--r--src/elogin/parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/elogin/parse.c b/src/elogin/parse.c
index 78b59c2..c2d1d10 100644
--- a/src/elogin/parse.c
+++ b/src/elogin/parse.c
@@ -222,6 +222,7 @@ void elogin_parse_serverexit(int fd)
{
case 100: // all exit
case 101: // all restart
+ case 104: // git pull and all restart
core->shutdown_callback();
break;
case 102: // restart char and map server