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