aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py
index 4e9c4cb4..428b7a0c 100644
--- a/sos/plugins/__init__.py
+++ b/sos/plugins/__init__.py
@@ -986,6 +986,8 @@ class Plugin(object):
self._log_warn("ambiguous filename or symlink for command list")
if sizelimit is None:
sizelimit = self.get_option("log_size")
+ if pred is None:
+ pred = self.get_predicate(cmd=True)
for cmd in cmds:
self._add_cmd_output(cmd=cmd, suggest_filename=suggest_filename,
root_symlink=root_symlink, timeout=timeout,