diff options
Diffstat (limited to '')
-rw-r--r-- | src/argparser.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argparser.bash b/src/argparser.bash index ba9529c..c4f306b 100644 --- a/src/argparser.bash +++ b/src/argparser.bash @@ -133,7 +133,7 @@ function args_dispose function args_parent_name { local pid=$$ lvl=$1 found=0 line arg - while (( $lvl > 1 )) && [ $found = 0 ]; do + while (( $lvl > 0 )) && [ $found = 0 ]; do while read line; do if [ "${line:5}" = "PPid:" ]; then line="${line:5}" |