diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2019-11-04 10:45:15 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-11-04 10:45:15 +0000 |
commit | c4182ebd52af523261d2e7ef75affbb88eaf31fb (patch) | |
tree | e764ff3b1bc691242bf23617cb35a84734c751a9 | |
parent | 801c71b33dcfeaa980baa9f377b721bdd26aa5e8 (diff) | |
download | sos-c4182ebd52af523261d2e7ef75affbb88eaf31fb.tar.gz |
[Plugin] use correct source path when copying directories
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index 60fbeaf7..240fe9f1 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -800,7 +800,7 @@ class Plugin(object): if not os.listdir(srcpath): self.archive.add_dir(dest) return - self._copy_dir(dest) + self._copy_dir(srcpath) return # handle special nodes (block, char, fifo, socket) |