/[monit]/monit/daemonize.c
ViewVC logotype

Diff of /monit/daemonize.c

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

revision 1.12 by martinp, Tue Feb 11 21:27:39 2003 UTC revision 1.13 by hauk, Thu Jun 26 14:24:11 2003 UTC
# Line 139  int kill_daemon(int sig) { Line 139  int kill_daemon(int sig) {
139            
140      if ( kill(pid, sig) < 0 ) {      if ( kill(pid, sig) < 0 ) {
141                
142        error("%s: Cannot send signal to daemon process -- %s\n",prog, STRERROR);        log("%s: Cannot send signal to daemon process -- %s\n",prog, STRERROR);
143        return FALSE;        return FALSE;
144                
145      }      }
146            
147    } else {    } else {
148            
149      error("%s: No daemon process found\n", prog);      log("%s: No daemon process found\n", prog);
150      return TRUE;      return TRUE;
151            
152    }    }

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26