ovs-check-dead-ifs: unshadow pid variable
The pid variable is being shadowed by the list comprehension in the
os.execvp() call.  This can generate flakes / warnings in some environments
so fix it.
Acked-by: William Tu
@@ -99,4 +99,4 @@ if bad_pids:
The following processes are listening for packets to arrive on network devices
that no longer exist. You may want to restart them.""")
sys.stdout.flush()
- os.execvp("ps", ["ps"] + ["%s" % pid for pid in bad_pids])
+ os.execvp("ps", ["ps"] + ["%s" % pspid for pspid in bad_pids])
