btrbk: cosmetics

pull/30/head
Axel Burri 2015-04-30 14:45:41 +02:00
parent 01a25ad4df
commit bc930a26c8
1 changed files with 1 additions and 1 deletions

2
btrbk
View File

@ -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;