From 424127441ddc6cc07a00ec77f1f6c15a3fb6917c Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Sat, 28 Aug 2021 12:55:16 +0200 Subject: [PATCH] btrbk: fix unsafe path for btrfs send to file --- btrbk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btrbk b/btrbk index 8d5c568..bfe94f5 100755 --- a/btrbk +++ b/btrbk @@ -1709,7 +1709,7 @@ sub btrfs_send_to_file($$$;$$) $stream_options->{stream_compress} = $compress if($compress); 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); my @cmd_pipe;