summaryrefslogtreecommitdiffstats
path: root/utils/nfsidmap
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2016-02-13 07:34:23 -0500
committerSteve Dickson <steved@redhat.com>2016-03-16 10:45:17 -0400
commit75232900ecc0a06eb3079417470d403b14bd1255 (patch)
tree6aeff64e63478ba1010b7b3cdbc3d830650256c8 /utils/nfsidmap
parenta59788d9de9333294c885b044b4dbc003c17db71 (diff)
downloadnfs-utils-75232900ecc0a06eb3079417470d403b14bd1255.tar.gz
nfs-utils-75232900ecc0a06eb3079417470d403b14bd1255.tar.xz
nfs-utils-75232900ecc0a06eb3079417470d403b14bd1255.zip
nfsidmapd: Let verbose determent whether stderr logging should be done
Use the verbose command flag to turn on or off logging to stderr. Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/nfsidmap')
-rw-r--r--utils/nfsidmap/nfsidmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/nfsidmap/nfsidmap.c b/utils/nfsidmap/nfsidmap.c
index 15b4a51..d980c68 100644
--- a/utils/nfsidmap/nfsidmap.c
+++ b/utils/nfsidmap/nfsidmap.c
@@ -428,7 +428,7 @@ int main(int argc, char **argv)
return keyring_clear(DEFAULT_KEYRING);
}
- xlog_stderr(0);
+ xlog_stderr(verbose);
if ((argc - optind) != 2) {
xlog_err("Bad arg count. Check /etc/request-key.conf");
xlog_warn(usage, progname);