mirror of https://github.com/digint/btrbk
btrbk: fix unsafe path for btrfs send to file
parent
fe53198661
commit
424127441d
2
btrbk
2
btrbk
|
@ -1709,7 +1709,7 @@ sub btrfs_send_to_file($$$;$$)
|
||||||
$stream_options->{stream_compress} = $compress if($compress);
|
$stream_options->{stream_compress} = $compress if($compress);
|
||||||
|
|
||||||
my @send_options;
|
my @send_options;
|
||||||
push(@send_options, '-p', $parent_path) if($parent_path);
|
push(@send_options, '-p', { unsafe => $parent_path } ) if($parent_path);
|
||||||
#push(@send_options, '-v') if($loglevel >= 3);
|
#push(@send_options, '-v') if($loglevel >= 3);
|
||||||
|
|
||||||
my @cmd_pipe;
|
my @cmd_pipe;
|
||||||
|
|
Loading…
Reference in New Issue