Always invoke the root command as whipper

Signed-off-by: Katharina Dröge <kate@commandmc.de>
This commit is contained in:
Katharina Dröge
2025-09-24 17:05:52 +02:00
parent bc8b96d956
commit 86eb6a532d

View File

@@ -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)