Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #294 from mariux64/mxmount-fix-option-parser
mxmount: Allow "=" in variable values
  • Loading branch information
donald committed Jan 3, 2023
2 parents 4bc27d6 + a4320d1 commit c5c2d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mxmount/mxmount
Expand Up @@ -221,7 +221,7 @@ sub parse_variables {
my ($key, $value);

foreach(@lines) {
if(($key, $value) = /^(\S+)=\s*(.*)$/) {
if(($key, $value) = /^(\S+?)=\s*(.*)$/) {
$V{$key} = $value;
} else {
push @invalid,expand_variables($_);
Expand Down

0 comments on commit c5c2d42

Please sign in to comment.