diff --git a/test/zdtm.py b/test/zdtm.py index 3ed9f2994..98cbfa23f 100755 --- a/test/zdtm.py +++ b/test/zdtm.py @@ -313,8 +313,7 @@ def wait_pid_die(pid, who, tmo = 30): while stime < tmo: try: os.kill(int(pid), 0) - except Exception, e: - print "Unable to kill %d: %s" % (pid, e) + except OSError, e: break print "Wait for %s(%d) to die for %f" % (who, pid, stime)