summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexamples/misc/modify_samba_config.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/misc/modify_samba_config.pl b/examples/misc/modify_samba_config.pl
index eb997f9b0c..ad958625d6 100755
--- a/examples/misc/modify_samba_config.pl
+++ b/examples/misc/modify_samba_config.pl
@@ -66,7 +66,7 @@ while (<CONFIGFILE>) {
## check for a param = value
if ($_ =~ /=/) {
- ($param, $value) = split (/=/, $_);
+ ($param, $value) = split (/=/, $_,2);
$param =~ s/./\l$&/g;
$param =~ s/\s+//g;
$value =~ s/^\s+//;