summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorkhramshinr <khramshinr@gmail.com>2024-04-04 17:53:02 +0800
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-04-04 11:57:56 +0000
commitd84f0067d8beb3a42796c891ea9f7c5defaa2159 (patch)
treedae54b75fba974bab85fc2d5cacfbea1c21d1b3d /src/op_mode
parentd729069c58c0a670e1f57d6d12c57a41e330742b (diff)
downloadvyos-1x-d84f0067d8beb3a42796c891ea9f7c5defaa2159.tar.gz
vyos-1x-d84f0067d8beb3a42796c891ea9f7c5defaa2159.zip
T6166: Tech support generation error for custom output location
(cherry picked from commit bec23808af82b0f84e8a7707bbd56839da2c48b0)
Diffstat (limited to 'src/op_mode')
-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()