summaryrefslogtreecommitdiff
path: root/tools/generate_support_bundle.py
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2022-01-06 08:17:12 -0500
committerGitHub <noreply@github.com>2022-01-06 08:17:12 -0500
commit45a4f371eb6fb28a096c4309a894ce411f729524 (patch)
tree03723561491151dbf890641f76e738d3dbf8b41b /tools/generate_support_bundle.py
parent3d162a695030cf4063752c187746cc57b70db4d4 (diff)
parentb321edc51b6c8c402485b92f0603ce9f41737ee4 (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-xtools/generate_support_bundle.py2
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():