Skip to content

Commit

Permalink
[backend] support a global follow symlinks switch to cpio_sender
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Mar 20, 2017
1 parent 3201566 commit 89c4d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/BSHTTP.pm
Expand Up @@ -455,7 +455,7 @@ sub cpio_sender {
next;
}
if (-l _) {
if (!$file->{'follow'}) {
if (!$file->{'follow'} && !$param->{'follow'}) {
$errors->{'data'} .= "$file->{'name'}: $filename: is a symlink\n";
next;
}
Expand Down

0 comments on commit 89c4d4e

Please sign in to comment.