From: Michael Prokop Date: Tue, 15 Oct 2019 12:58:08 +0000 (+0200) Subject: Merge remote-tracking branch 'origin/pr/23' X-Git-Tag: v0.16.7~3 X-Git-Url: http://git.grml.org/?p=grml2usb.git;a=commitdiff_plain;h=8bd4b9174b4ab450fcde1298ed02c4e2e54c60a6;hp=b70606ae1a4665e5067d9e5fc008b9b6706a93d5 Merge remote-tracking branch 'origin/pr/23' --- 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():