Comment 15 for bug 1726372

Brian Murray (brian-murray) wrote :

My most recent set of patches tried to maintain backwards compatibility with previous versions of apport but that actually won't work. The following change needs to be made.

363 # Simply log an entry in the host error log and exit 0.
364 if len(sys.argv) in (5, 6):
365 host_pid = int(sys.argv[-1])
366

Should be:

363 # Simply log an entry in the host error log and exit 0.
364 if len(sys.argv) == 6:
365 host_pid = int(sys.argv[5])
366