/[baselayout]/trunk/sbin/rc-daemon.sh
Gentoo

Diff of /trunk/sbin/rc-daemon.sh

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

Revision 1808 Revision 1809
254 is_daemon_running ${cmd} "${pidfile}" 254 is_daemon_running ${cmd} "${pidfile}"
255 retval="$?" 255 retval="$?"
256 [[ ${retval} == "0" ]] && return 0 256 [[ ${retval} == "0" ]] && return 0
257 257
258 # Stop if we can to clean things up 258 # Stop if we can to clean things up
259 if [[ ${RC_KILL_CHILDREN} == "yes" && -n ${pidfile} ]]; then 259 [[ -n ${pidfile} ]] && rc_stop_daemon
260 rc_stop_daemon 260
261 fi
262 return "${retval}" 261 return "${retval}"
263} 262}
264 263
265# bool rc_stop_daemon(void) 264# bool rc_stop_daemon(void)
266# 265#

Legend:
Removed from v.1808  
changed lines
  Added in v.1809

  ViewVC Help
Powered by ViewVC 1.1.20