summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 2856eaf75b..e8831f652a 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -3710,7 +3710,7 @@ BOOL lp_list_substitute(char **list, const char *pattern, const char *insert)
char *p, *s, *t;
ssize_t ls, lp, li, ld, i, d;
- if (!list || !*list) return False;
+ if (!list) return False;
if (!pattern) return False;
if (!insert) return False;