diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2015-03-03 14:54:48 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2015-03-03 14:54:48 +0000 |
commit | d19bc046d549aaf634314a257dd22623df731648 (patch) | |
tree | d6409a64fb051b38828f4b9dde3d607b5c7110b9 /man/en/sosreport.1 | |
parent | 1dea7d3086b8d9200aa48d051420bcf8c51dbe98 (diff) | |
download | sos-d19bc046d549aaf634314a257dd22623df731648.tar.gz |
[networking] test nmcli status before using output
The networking module assumes that nmcli commands succeed if the
results object is not None; this is not valid and will lead to
errors in subsequent commands if the call returned an error
message instead of the expected content:
[plugin:networking] collecting output of 'nmcli con show conf 'Error: nmcli (0.9.10.0) and NetworkManager (unknown) versions don't match. Force execution using --nocheck, but the results are unpredictable.''
Traceback (most recent call last):
File "/usr/sbin/sosreport", line 25, in <module>
main(sys.argv[1:])
File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 1459, in main
sos.execute()
ValueError: No closing quotation
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'man/en/sosreport.1')
0 files changed, 0 insertions, 0 deletions