projects
/
BackupPC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Added some performance improvements to BackupPC::Xfer::RsyncFileIO
[BackupPC.git]
/
lib
/
BackupPC
/
CGI
/
EditConfig.pm
diff --git
a/lib/BackupPC/CGI/EditConfig.pm
b/lib/BackupPC/CGI/EditConfig.pm
index
2e734db
..
4811f4e
100644
(file)
--- a/
lib/BackupPC/CGI/EditConfig.pm
+++ b/
lib/BackupPC/CGI/EditConfig.pm
@@
-1466,6
+1466,8
@@
sub fieldInputParse
} else {
$$value = decode_utf8($In{"v_zZ_$varName"});
$$value =~ s/\r\n/\n/g;
+ # remove leading space from exec paths
+ $$value =~ s/^\s+// if ( $type->{type} eq "execPath" );
}
$$value = undef if ( $type->{undefIfEmpty} && $$value eq "" );
}