X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=358597695114999ca29c95b729f71c22a0b70505;hp=1e502e7351b3697102944395c701fa5d104ba0b0;hb=8bd4b9174b4ab450fcde1298ed02c4e2e54c60a6;hpb=b70606ae1a4665e5067d9e5fc008b9b6706a93d5 diff --git a/grml2usb b/grml2usb index 1e502e7..3585976 100755 --- a/grml2usb +++ b/grml2usb @@ -1855,14 +1855,14 @@ def check_programs(): def load_loop(): - """Runs modprobe loop and throws away it's output""" + """Runs modprobe loop and throws away its output""" if not which("modprobe"): logging.critical("Fatal: modprobe not available, can not continue - sorry.") logging.critical("Hint: is /sbin missing in PATH?") sys.exit(1) proc = subprocess.Popen(["modprobe", "loop"], stdout=subprocess.PIPE, stderr=subprocess.PIPE) - proc.wait() + proc.communicate() def main():