changeset 670 | b95ad8c8bb4e |
parent 516 | 9615ffc647a0 |
child 687 | f99f9e3d02cf |
--- a/bin/pvl.hosts-forward Sun Mar 01 22:39:05 2015 +0200 +++ b/bin/pvl.hosts-forward Sun Mar 01 23:16:18 2015 +0200 @@ -39,8 +39,12 @@ log.info("using given hostpath for zone origin: %s", origin) + elif args: + log.fatal("--zone-origin is required if passing multiple hostfiles") + return 1 + else: - log.fatal("--zone-origin is required if passing multiple hostfiles") + log.fatal("no hosts given as input") return 1 hosts = pvl.hosts.apply(options, args)