Skip to content
Snippets Groups Projects
Commit 4fb6f19b authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- add config check for given volumes

parent 6832c57f
No related branches found
No related tags found
No related merge requests found
......@@ -67,6 +67,9 @@ HINT
use warnings;
# option overrides config
$config{elasticsearch_protocol} = $config{http_only} ? 'http' : 'https';
foreach my $volume (@{ $SLUB::LZA::TA::config{permanent_volume} }) {
if (! -d "$volume") {$self->usage_error("given volume '$volume', does not exist or readable, $!");}
}
return 1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment