diff --git a/cardano_node_tests/prepare_cluster_scripts.py b/cardano_node_tests/prepare_cluster_scripts.py index b743ff3ba..7eb39a874 100755 --- a/cardano_node_tests/prepare_cluster_scripts.py +++ b/cardano_node_tests/prepare_cluster_scripts.py @@ -98,6 +98,7 @@ def main() -> int: testnet_variant = args.testnet_variant if not testnet_variant: LOGGER.error("The testnet variant must be set.") + return 1 if args.clean: shutil.rmtree(destdir, ignore_errors=True)