]> git.proxmox.com Git - mirror_ovs.git/commit
ovs-check-dead-ifs: unshadow pid variable
authorAaron Conole <aconole@redhat.com>
Fri, 13 Sep 2019 17:29:02 +0000 (13:29 -0400)
committerBen Pfaff <blp@ovn.org>
Wed, 25 Sep 2019 16:58:18 +0000 (09:58 -0700)
commit78e2a56927b5ba7e6f8808e3cf967171a2708a57
tree0a3d1da529d4a20e10cb80759ba812977e25865b
parentc864b82d889dc47fb88d5cdde8caeca962776871
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 <u9012063@gmail.com>
Signed-off-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
utilities/ovs-check-dead-ifs.in