diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2022-01-06 08:17:12 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-06 08:17:12 -0500 |
| commit | 45a4f371eb6fb28a096c4309a894ce411f729524 (patch) | |
| tree | 03723561491151dbf890641f76e738d3dbf8b41b /tools/generate_support_bundle.py | |
| parent | 3d162a695030cf4063752c187746cc57b70db4d4 (diff) | |
| parent | b321edc51b6c8c402485b92f0603ce9f41737ee4 (diff) | |
Merge pull request #10226 from bisdn/jogo_fix_support_bundle_backup
tools: fix backing up previous logs in generate_support_bundle.py
Diffstat (limited to 'tools/generate_support_bundle.py')
| -rwxr-xr-x | tools/generate_support_bundle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/generate_support_bundle.py b/tools/generate_support_bundle.py index 56b2872d1e..c6b876f5b8 100755 --- a/tools/generate_support_bundle.py +++ b/tools/generate_support_bundle.py @@ -29,7 +29,7 @@ import tempfile def open_with_backup(path): if os.path.exists(path): print("Making backup of " + path) - subprocess.check_call("mv {0} {0}.prev".format(path)) + subprocess.check_call("mv {0} {0}.prev".format(path), shell=True) return open(path, "w") def main(): |
