Skip to content

Commit

Permalink
Merge pull request holgerBerger#118 from cniethammer/fix-config-valid…
Browse files Browse the repository at this point in the history
…ation

Fix missing exit for found error in configuration validation script
  • Loading branch information
holgerBerger authored Dec 8, 2024
2 parents 3a585e7 + 7371a4e commit 6cbbd2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sbin/ws_validate_config
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ for ws in workspaces:
for sp in config["workspaces"][ws]["spaces"]:
if not config["workspaces"][ws]["deleted"]:
print(" ERROR: no target for deletion defined in workspace", ws)
sys.exit(1)
if not os.path.exists(sp):
print(" WARNING: workspace directory <%s> does not exist!" % sp)
if not os.path.exists(os.path.join(sp, config["workspaces"][ws]["deleted"])):
Expand Down

0 comments on commit 6cbbd2d

Please sign in to comment.