diff --git a/unix/vncserver/vncserver.in b/unix/vncserver/vncserver.in index ebdd3a97ed..fdcce0e9c4 100755 --- a/unix/vncserver/vncserver.in +++ b/unix/vncserver/vncserver.in @@ -288,7 +288,7 @@ sub LoadConfig { if (open(IN, $configFile)) { while () { next if /^#/; - if (my ($k, $v) = /^\s*(\w+)\s*=\s*(.+)$/) { + if (my ($k, $v) = /^\s*(\w+)\s*=\s*(.*)$/) { $k = lc($k); # must normalize key case if ($warnoverride && $config{$k}) { print("Warning: $configFile is overriding previously defined '$k' to be '$v'\n");