Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/image-writer-mac
diff options
context:
space:
mode:
Diffstat (limited to 'image-writer-mac')
-rwxr-xr-ximage-writer-mac2
1 files changed, 1 insertions, 1 deletions
diff --git a/image-writer-mac b/image-writer-mac
index fc08ae0..f3f7bfb 100755
--- a/image-writer-mac
+++ b/image-writer-mac
@@ -199,7 +199,7 @@ def write_image_to_disk (image_filename, usb_disk):
# show progress (percentage ticking)
while p.poll() == None:
time.sleep(1)
- p.send_signal(signal.SIGINFO)
+ os.kill(p.pid, signal.SIGINFO)
recordsIn = p.stderr.readline().strip()
recordsOut = p.stderr.readline().strip()
bytesTransferred = p.stderr.readline().strip()