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 a1610d29c9
commit 23b61845f3
1 changed files with 1 additions and 1 deletions

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;