Skip to content

Commit e49d3d3

Browse files
authored
Update filemin-lib.pl
Fix for #87
1 parent 023111c commit e49d3d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

filemin-lib.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ sub get_paths {
5858
@allowed_paths = map { $_ eq '$HOME' ? @remote_user_info[7] : $_ }
5959
@allowed_paths;
6060
@allowed_paths = map { s/\$USER/$remote_user/g; $_ } @allowed_paths;
61-
if (scalar(@allowed_paths == 1)) {
61+
if (scalar(@allowed_paths) == 1) {
6262
$base = $allowed_paths[0];
6363
} else {
6464
$base = '/';

0 commit comments

Comments
 (0)