diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-01-06 02:50:46 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:49:46 -0500 |
commit | c66bc0dadbe7502f651fec53da488c838412f627 (patch) | |
tree | 90cdf06620a9b316329ac3b2aca6c575e01c916d /source4/utils/testparm.c | |
parent | 1b29552e70a78116337cf08a8d629170097427ad (diff) | |
download | samba-c66bc0dadbe7502f651fec53da488c838412f627.tar.gz samba-c66bc0dadbe7502f651fec53da488c838412f627.tar.xz samba-c66bc0dadbe7502f651fec53da488c838412f627.zip |
r12731: Simplify and re-implemenet support for --parameter-name=foo
--service-name=bar in testparm.
Andrew Bartlett
(This used to be commit be067e9a04a4dca02a9472ae7385dc0bf26735ea)
Diffstat (limited to 'source4/utils/testparm.c')
-rw-r--r-- | source4/utils/testparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/utils/testparm.c b/source4/utils/testparm.c index fd990221ed..d2f76960db 100644 --- a/source4/utils/testparm.c +++ b/source4/utils/testparm.c @@ -215,7 +215,7 @@ static int do_global_checks(void) lp_dump_one(stdout, show_defaults, s); } } else { - ret = lp_dump_a_parameter(s, parameter_name, stdout, isGlobal); + ret = !lp_dump_a_parameter(s, parameter_name, stdout, isGlobal); } } else { lp_dump(stdout, show_defaults, lp_numservices()); |