Просмотр исходного кода

* SIGTERM now kills the bot.

svn: 948
Bryan Drewery 22 лет назад
Родитель
Сommit
aa507640be
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      doc/UPDATES
  2. 1 1
      src/debug.c

+ 1 - 0
doc/UPDATES

@@ -17,6 +17,7 @@ This is a summary of ChangeLog basically.
 13.Changed default .color to on, and all of the new settings are default on as well.
 13.Changed default .color to on, and all of the new settings are default on as well.
 14.Several msgc cmds were replying incorrectly, fixed.
 14.Several msgc cmds were replying incorrectly, fixed.
 15.Fixed the bad uname email not giving the login.
 15.Fixed the bad uname email not giving the login.
+16.SIGTERM now kills the bot.
 
 
 1.1.5
 1.1.5
 
 

+ 1 - 1
src/debug.c

@@ -250,7 +250,7 @@ static void got_term(int z)
 #ifdef HUB
 #ifdef HUB
   write_userfile(-1);
   write_userfile(-1);
 #endif
 #endif
-  putlog(LOG_MISC, "*", "RECEIVED TERMINATE SIGNAL (IGNORING)");
+  fatal("Received SIGTERM", 0);
 }
 }
 
 
 static void got_abort(int z)
 static void got_abort(int z)