summaryrefslogtreecommitdiffstats
path: root/source3/winbindd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd')
-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 277b1743069..ed8eb1339f3 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) {