diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-09-18 20:24:55 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-09-18 20:24:55 +0100 |
commit | 7c8e3f3a429b891eb7bb16ef245ee28ae8035b69 (patch) | |
tree | 0a69094cb79e288f454bbf3a1eaf6caf6ab2ba70 /po | |
parent | ef74a5bd22baea04b292e458de1be6b4980b6999 (diff) | |
download | sos-7c8e3f3a429b891eb7bb16ef245ee28ae8035b69.tar.gz |
[general] collect 'hostname' as well as 'hostname -f'
The --fqdn option to hostname depends on the system resolver
configuration. On hosts where the fqdn is undefined the command
may return:
"hostname: Name or service not known"
Since hostname will at least give the locally configured name
regardless of resolver or DNS state collect both commands.
Fixes #404.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions