summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/winbindd/winbindd_dual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c
index 277b174306..ed8eb1339f 100644
--- a/source3/winbindd/winbindd_dual.c
+++ b/source3/winbindd/winbindd_dual.c
@@ -407,7 +407,7 @@ void setup_child(struct winbindd_domain *domain, struct winbindd_child *child,
if (logprefix && logname) {
char *logbase = NULL;
- if (lp_logfile()) {
+ if (*lp_logfile()) {
char *end = NULL;
if (asprintf(&logbase, "%s", lp_logfile()) < 0) {