diff options
Diffstat (limited to 'src/argparser.py')
-rw-r--r-- | src/argparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argparser.py b/src/argparser.py index a89dada..7d29ade 100644 --- a/src/argparser.py +++ b/src/argparser.py @@ -79,7 +79,7 @@ class ArgParser(): ''' pid = os.readlink('/proc/self') lvl = levels - while lvl > 1: + while lvl > 0: with file as open('/proc/%d/status' % pid, 'r'): lines = file.readlines() found = False |