Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/23'
Browse files Browse the repository at this point in the history
  • Loading branch information
mika committed Oct 15, 2019
2 parents b70606a + 29d54d4 commit 8bd4b91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grml2usb
Expand Up @@ -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():
Expand Down

0 comments on commit 8bd4b91

Please sign in to comment.