Always invoke the root command as whipper
Signed-off-by: Katharina Dröge <kate@commandmc.de>
This commit is contained in:
@@ -52,7 +52,7 @@ def main():
|
||||
)
|
||||
list(map(pkg_resources.working_set.add, distributions))
|
||||
try:
|
||||
cmd = Whipper(sys.argv[1:], os.path.basename(sys.argv[0]), None)
|
||||
cmd = Whipper(sys.argv[1:], 'whipper', None)
|
||||
ret = cmd.do()
|
||||
except SystemError as e:
|
||||
logger.critical("SystemError: %s", e)
|
||||
|
||||
Reference in New Issue
Block a user