Skip to content

Commit

Permalink
added prefix to tempdir
Browse files Browse the repository at this point in the history
  • Loading branch information
emoscardini committed Nov 8, 2023
1 parent 97a8870 commit ee5444d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.3.3] - 2023-11-08
### Changed

- Added prefix "nf-" to tempdir

## [1.3.2] - 2023-11-02
### Changed

Expand Down
Binary file modified dist/support_bundle
Binary file not shown.
4 changes: 2 additions & 2 deletions support_bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ def main():
# main
if __name__ == '__main__':
try:
__version__ = '1.3.2'
__version__ = '1.3.3'
# change log
# https://github.com/netfoundry/edge-router-support-bundle/blob/main/CHANGELOG.md

Expand Down Expand Up @@ -748,7 +748,7 @@ def main():
root_check()

# create temp dir to gather all logs
tmp_dir_path = tempfile.mkdtemp(prefix="/root/")
tmp_dir_path = tepmpfile.mkdtemp(prefix="/root/nf-")
main()
except KeyboardInterrupt:
exit_gracefully(tmp_dir_path)

0 comments on commit ee5444d

Please sign in to comment.