summaryrefslogtreecommitdiffstats
path: root/python/guestfs.py
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-04-08 19:06:00 +0100
committerRichard Jones <rjones@redhat.com>2010-04-08 22:23:27 +0100
commit772a8309611a8bf3fc0005c89d08c6e134ae3d23 (patch)
tree2d099921a9b5e6d08a28f7aed17eab1475ff3eaa /python/guestfs.py
parent08ddf6b1d9b6c19c87b82a44d5e0fffd70e41635 (diff)
downloadlibguestfs-772a8309611a8bf3fc0005c89d08c6e134ae3d23.tar.gz
libguestfs-772a8309611a8bf3fc0005c89d08c6e134ae3d23.tar.xz
libguestfs-772a8309611a8bf3fc0005c89d08c6e134ae3d23.zip
Don't kill self accidentally.
Always check that pid > 0 before calling kill (pid, 9). The issue was that sometimes pid == 0, and this ends up killing ourselves. (cherry picked from commit dc5df3bfec706803e75a5f2454293db30e753249)
Diffstat (limited to 'python/guestfs.py')
0 files changed, 0 insertions, 0 deletions