summaryrefslogtreecommitdiffstats
path: root/support/export/hostname.c
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2013-10-22 04:32:08 -0400
committerSteve Dickson <steved@redhat.com>2013-10-22 04:32:08 -0400
commitefe3c8d6cb4fc35909a64c0535087676a189fa5f (patch)
tree19378457cdfeaade148c2d1735813fce93863e6b /support/export/hostname.c
parent956aeff2e24304e938846f81f4b9db34cbf18a32 (diff)
downloadnfs-utils-efe3c8d6cb4fc35909a64c0535087676a189fa5f.tar.gz
nfs-utils-efe3c8d6cb4fc35909a64c0535087676a189fa5f.tar.xz
nfs-utils-efe3c8d6cb4fc35909a64c0535087676a189fa5f.zip
Revert "exportfs: Return non-zero exit value on error"
This reverts commit 956aeff2e24304e938846f81f4b9db34cbf18a32.
Diffstat (limited to 'support/export/hostname.c')
-rw-r--r--support/export/hostname.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/support/export/hostname.c b/support/export/hostname.c
index e53d692..3e949a1 100644
--- a/support/export/hostname.c
+++ b/support/export/hostname.c
@@ -175,12 +175,10 @@ host_addrinfo(const char *hostname)
case 0:
return ai;
case EAI_SYSTEM:
- export_errno = errno;
xlog(D_GENERAL, "%s: failed to resolve %s: (%d) %m",
__func__, hostname, errno);
break;
default:
- export_errno = EINVAL;
xlog(D_GENERAL, "%s: failed to resolve %s: %s",
__func__, hostname, gai_strerror(error));
break;