nfsidmapd: Let verbose determent whether stderr logging should be done
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- utils/nfsidmap/nfsidmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
utils/nfsidmap/nfsidmap.c +1 -1
@@ -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);
Signature · 1 line
2.5.0
Quoted 4 lines · Steve Dickson
Use the verbose command flag to turn on or off
logging to stderr.Signed-off-by Steve Dickson <[email protected]>
Committed...
steved.
Quoted 18 lines
--- utils/nfsidmap/nfsidmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)utils/nfsidmap/nfsidmap.c +1
-1@@ -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);