diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2012-12-04 23:00:51 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2012-12-04 23:00:51 +0000 |
commit | 5bb10c6fa0ff8eaebf942ae8d56edb50b4c0e8df (patch) | |
tree | 75d6e950973888e6ca7f9ad906d8338369a78692 | |
parent | d78e1a462814152551e627a109c73fbdc3be2645 (diff) | |
download | sos-5bb10c6fa0ff8eaebf942ae8d56edb50b4c0e8df.tar.gz |
Fix error logging when calling external programs
-rw-r--r-- | sos/plugins/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py index d930c9ef..bf9f5a0b 100644 --- a/sos/plugins/__init__.py +++ b/sos/plugins/__init__.py @@ -482,6 +482,8 @@ class Plugin(object): # pylint: disable-msg = W0612 status, shout, runtime = sosGetCommandOutput(exe, timeout=timeout) + if (status == 127): + self.soslog.info("could not run '%s'" % prog) if suggest_filename: outfn = self.makeCommandFilename(suggest_filename) |