Fix the rpm call

This commit is contained in:
Martin Gracik 2012-06-01 08:58:34 +02:00
parent bad0b469a5
commit 3ed82f3eb0

View File

@ -138,7 +138,7 @@ class Lorax(BaseLoraxClass):
if domacboot:
try:
subprocess.check_call("rpm -q hfsplus-tools")
subprocess.check_call(["rpm", "-q", "hfsplus-tools"])
except subprocess.CalledProcessError:
logger.critical("you need to install hfsplus-tools to create mac images")
sys.exit(1)