Browse Source

Only show parent id > 1

pull/84/head
Ruud 13 years ago
parent
commit
59373b0793
  1. 2
      couchpotato/environment.py

2
couchpotato/environment.py

@ -80,6 +80,6 @@ class Env(object):
parent = os.getppid()
except:
parent = None
return '%d %s' % (os.getpid(), '(%d)' % parent if parent else '')
return '%d %s' % (os.getpid(), '(%d)' % parent if parent and parent > 1 else '')
except:
return 0

Loading…
Cancel
Save