/[LeafOK_CVS]/lbbs/src/menu_proc.c
ViewVC logotype

Diff of /lbbs/src/menu_proc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 by sysadm, Sat May 7 12:08:28 2005 UTC Revision 1.5 by sysadm, Sat May 7 12:15:30 2005 UTC
# Line 21  Line 21 
21  #include "io.h"  #include "io.h"
22  #include <dlfcn.h>  #include <dlfcn.h>
23  #include <errno.h>  #include <errno.h>
24    #include <signal.h>
25  #include <string.h>  #include <string.h>
26  #include <sys/types.h>  #include <sys/types.h>
27  #include <time.h>  #include <time.h>
# Line 109  reloadbbsmenu (const char *s) Line 110  reloadbbsmenu (const char *s)
110  int  int
111  shutdownbbs (const char *s)  shutdownbbs (const char *s)
112  {  {
113      if (kill (0, SIG_BBS_EXIT) < 0)      if (kill (0, SIGTERM) < 0)
114        log_error ("Send SIG_BBS_EXIT signal failed (%d)\n", errno);        log_error ("Send SIGTERM signal failed (%d)\n", errno);
115    
116      return REDRAW;      return REDRAW;
117  }  }


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1