Skip to content

Commit

Permalink
fix: added exist_ok=True while creating options directory
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ-Jackson committed Jan 2, 2025
1 parent ffde20f commit 036f67f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local-incus/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

os.chdir(os.path.dirname(os.path.abspath(__file__)))
os.makedirs("/opt/run-deploy/bin", exist_ok=True)
os.makedirs("/opt/run-deploy/options")
os.makedirs("/opt/run-deploy/options", exist_ok=True)

# Enable strict mode by default
pathlib.Path("/opt/run-deploy/options/strict").write_text("strict", 'utf-8')
Expand Down

0 comments on commit 036f67f

Please sign in to comment.