diff options
Diffstat (limited to 'script')
-rwxr-xr-x | script/borg-restore.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/script/borg-restore.pl b/script/borg-restore.pl index d6e97e5..f58ba33 100755 --- a/script/borg-restore.pl +++ b/script/borg-restore.pl @@ -235,6 +235,11 @@ sub main { return 0; } + if (!$app->cache_contains_data()) { + $opts{"adhoc"} = 1; + $log->warning("Cache is empty. --adhoc has been enabled for you automatically"); + } + my @paths = @ARGV; my $path; |