Bug 35174: Do not explode if po dir does not exist

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2023-11-16 08:27:10 +01:00
parent 8901b3dd7b
commit 72580bd09f

View file

@ -194,7 +194,7 @@ sub _base_directory {
my $dir = first { -d } @dirs;
unless ($dir) {
die "The PO directory has not been found. There is a problem in your Koha installation.";
warn "The PO directory has not been found. There is a problem in your Koha installation.";
}
return $dir;