summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source3/param/loadparm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 844cfe903d..52dc57db40 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -2659,6 +2659,7 @@ bool lp_do_parameter(int snum, const char *pszParmName, const char *pszParmValue
i = sscanf(pszParmValue, "%o", (int *)parm_ptr);
if ( i != 1 ) {
DEBUG ( 0, ("Invalid octal number %s\n", pszParmName ));
+ return false;
}
break;