summaryrefslogtreecommitdiff
path: root/src/op_mode/generate_tech-support_archive.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-04 13:57:14 +0200
committerGitHub <noreply@github.com>2024-04-04 13:57:14 +0200
commitfe87ed94a3af6b97d2481e96c63d48ba87849627 (patch)
tree76fc891f155940e1574f416546500803bfbc7131 /src/op_mode/generate_tech-support_archive.py
parent8205e3cf918142a55e00c00dc241a6a30914fbd9 (diff)
parentbec23808af82b0f84e8a7707bbd56839da2c48b0 (diff)
downloadvyos-1x-fe87ed94a3af6b97d2481e96c63d48ba87849627.tar.gz
vyos-1x-fe87ed94a3af6b97d2481e96c63d48ba87849627.zip
Merge pull request #3242 from HollyGurza/T6166
T6166: Tech support generation error for custom output location
Diffstat (limited to 'src/op_mode/generate_tech-support_archive.py')
-rwxr-xr-xsrc/op_mode/generate_tech-support_archive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/generate_tech-support_archive.py b/src/op_mode/generate_tech-support_archive.py
index c490b0137..41b53cd15 100755
--- a/src/op_mode/generate_tech-support_archive.py
+++ b/src/op_mode/generate_tech-support_archive.py
@@ -120,7 +120,7 @@ if __name__ == '__main__':
# Temporary directory creation
tmp_dir_path = f'{tmp_path}/drops-debug_{time_now}'
tmp_dir: Path = Path(tmp_dir_path)
- tmp_dir.mkdir()
+ tmp_dir.mkdir(parents=True)
report_file: Path = Path(f'{tmp_dir_path}/show_tech-support_report.txt')
report_file.touch()