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
986edc2aa9
commit
588e834e7d
|
|
@ -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 New Issue