2
0
mirror of https://github.com/deajan/osync synced 2024-11-07 15:20:26 +00:00

Some comment love

This commit is contained in:
deajan 2018-07-02 10:20:34 +02:00
parent 9e869e2bc4
commit c04e0fa21a

View File

@ -11,7 +11,7 @@ _OFUNCTIONS_BUILD=2018062901
_OFUNCTIONS_BOOTSTRAP=true
#### _OFUNCTIONS_BOOTSTRAP SUBSET END ####
## BEGIN Generic bash functions written in 2013-2017 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr
## BEGIN Generic and highly portable bash functions written in 2013-2018 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr
## To use in a program, define the following variables:
## PROGRAM=program-name
@ -354,7 +354,6 @@ function KillChilds {
fi
if kill -0 "$pid" > /dev/null 2>&1; then
#TODO: Warning: pgrep is not native on cygwin, have this checked in CheckEnvironment
if children="$(pgrep -P "$pid")"; then
if [[ "$pid" == *"$children"* ]]; then
Logger "Bogus pgrep implementation." "CRITICAL"