diff options
-rw-r--r-- | sos/policies/__init__.py | 1 | ||||
-rw-r--r-- | sos/policies/redhat.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sos/policies/__init__.py b/sos/policies/__init__.py index 8eff9935..96d1acae 100644 --- a/sos/policies/__init__.py +++ b/sos/policies/__init__.py @@ -190,6 +190,7 @@ No changes will be made to system configuration. def get_tmp_dir(self, opt_tmp_dir): if not opt_tmp_dir: return tempfile.gettempdir() + return opt_tmp_dir def validatePlugin(self, plugin_class): """ diff --git a/sos/policies/redhat.py b/sos/policies/redhat.py index c3740dce..93218157 100644 --- a/sos/policies/redhat.py +++ b/sos/policies/redhat.py @@ -85,6 +85,7 @@ class RedHatPolicy(LinuxPolicy): def get_tmp_dir(self, opt_tmp_dir): if not opt_tmp_dir: return self._tmp_dir + return opt_tmp_dir def get_local_name(self): return self.host_name() |