summaryrefslogtreecommitdiff
path: root/source/utils
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-07-27 04:56:06 +0000
committerGerald Carter <jerry@samba.org>2002-07-27 04:56:06 +0000
commit637fe80a0b3f0f40d54238d8dfe5c08076c8ce59 (patch)
tree4473cf206106044379ea30627a60039690a0e69a /source/utils
parenta637458ff33925dee6016647e39b8ec92ccdfb6f (diff)
downloadsamba-637fe80a0b3f0f40d54238d8dfe5c08076c8ce59.tar.gz
merging for 2.2.6pre1
Diffstat (limited to 'source/utils')
-rw-r--r--source/utils/testparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/utils/testparm.c b/source/utils/testparm.c
index 664f13ab269..9cef1d9ac85 100644
--- a/source/utils/testparm.c
+++ b/source/utils/testparm.c
@@ -153,7 +153,7 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_
}
}
- if (lp_status(-1) && lp_max_smbd_processes()) {
+ if (!lp_status(-1) && lp_max_smbd_processes()) {
printf("ERROR: the 'max smbd processes' parameter is set and the 'status' parameter is set to 'no'.\n");
ret = 1;
}