Merge remote-tracking branch 'origin/pr/23'
authorMichael Prokop <mika@grml.org>
Tue, 15 Oct 2019 12:58:08 +0000 (14:58 +0200)
committerMichael Prokop <mika@grml.org>
Tue, 15 Oct 2019 12:58:08 +0000 (14:58 +0200)
grml2usb

index 1e502e7..3585976 100755 (executable)
--- 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():