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

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

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

Revision 398 Revision 399
373service_started() { 373service_started() {
374 [ -z "$1" ] && return 1 374 [ -z "$1" ] && return 1
375 375
376 if [ -L "${svcdir}/started/$1" ] 376 if [ -L "${svcdir}/started/$1" ]
377 then 377 then
378 if [ ! -e "${svcdir}/started/$1" ]
379 then
380 rm -f "${svcdir}/started/$1"
381
382 return 1
383 fi
378 return 0 384 return 0
379 fi 385 fi
380 386
381 return 1 387 return 1
382} 388}

Legend:
Removed from v.398  
changed lines
  Added in v.399

  ViewVC Help
Powered by ViewVC 1.1.20