mirror of https://github.com/digint/btrbk
btrbk: archive: always print "[-]" if no action was performed for target
parent
8610e75459
commit
5651c96e4e
6
btrbk
6
btrbk
|
@ -4787,9 +4787,10 @@ MAIN:
|
||||||
if($droot->{CONFIG}->{UNRECOVERABLE}) {
|
if($droot->{CONFIG}->{UNRECOVERABLE}) {
|
||||||
push(@unrecoverable, $droot->{CONFIG}->{UNRECOVERABLE});
|
push(@unrecoverable, $droot->{CONFIG}->{UNRECOVERABLE});
|
||||||
}
|
}
|
||||||
if(@subvol_out) {
|
unless(@subvol_out) {
|
||||||
push @out, "$sroot->{PRINT}/$sroot->{CONFIG}->{snapshot_name}.*", @subvol_out, "";
|
push @subvol_out, "[-] $droot->{PRINT}/$sroot->{CONFIG}->{snapshot_name}.*";
|
||||||
}
|
}
|
||||||
|
push @out, "$sroot->{PRINT}/$sroot->{CONFIG}->{snapshot_name}.*", @subvol_out, "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4804,6 +4805,7 @@ MAIN:
|
||||||
"--- deleted subvolume",
|
"--- deleted subvolume",
|
||||||
"*** received subvolume (non-incremental)",
|
"*** received subvolume (non-incremental)",
|
||||||
">>> received subvolume (incremental)",
|
">>> received subvolume (incremental)",
|
||||||
|
"[-] no action",
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue