X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;fp=grml2usb;h=c139f72854af2b81e8947cf32e846646fa1c691b;hp=9c6c8c52a68b53cb35cf944b5c2f5cd1bf655d7c;hb=29d54d4a9505cf92bae9fc4ba24b6253bdadedc9;hpb=dbbca970b2878bdb1882a83a5ab30d97727d2590 diff --git a/grml2usb b/grml2usb index 9c6c8c5..c139f72 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():