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:
parent
8901b3dd7b
commit
72580bd09f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue