diff options
-rw-r--r-- | sos/plugins/unpackaged.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sos/plugins/unpackaged.py b/sos/plugins/unpackaged.py index 91de9de2..10896d06 100644 --- a/sos/plugins/unpackaged.py +++ b/sos/plugins/unpackaged.py @@ -63,6 +63,10 @@ class Unpackaged(Plugin, RedHatPlugin): expanded.append(f) return expanded + # Check command predicate to avoid costly processing + if not self.test_predicate(cmd=True): + return + all_fsystem = [] all_frpm = set(os.path.realpath(x) for x in self.policy.mangle_package_path( |