From bc930a26c8d38159bb1f2f5596fbd82c346450da Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Thu, 30 Apr 2015 14:45:41 +0200 Subject: [PATCH] btrbk: cosmetics --- btrbk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btrbk b/btrbk index aa425a2..b0cc3cb 100755 --- a/btrbk +++ b/btrbk @@ -761,7 +761,7 @@ sub btrfs_subvolume_snapshot($$) DEBUG "[btrfs] host : $svol->{HOST}" if($svol->{HOST}); DEBUG "[btrfs] source: $src_path"; DEBUG "[btrfs] target: $target_path"; - INFO ">>> " . ($svol->{HOST} ? "$svol->{HOST}:" : "") . $target_path; + INFO ">>> " . ($svol->{HOST} ? "{$svol->{HOST}}" : "") . $target_path; my $ret = run_cmd("$rsh /sbin/btrfs subvolume snapshot -r '$src_path' '$target_path'"); ERROR "Failed to create btrfs subvolume snapshot: $svol->{PRINT} -> $target_path" unless(defined($ret)); return defined($ret) ? $target_path : undef;