forked from lix-project/hydra
Don't barf if the SQLite DB is missing
This prevented hydra-init from starting.
This commit is contained in:
parent
3846c2407d
commit
e1768cae86
|
@ -13,7 +13,7 @@ sub getHydraDBPath {
|
|||
my $db = $ENV{"HYDRA_DBI"};
|
||||
return $db if defined $db;
|
||||
my $path = getHydraPath . '/hydra.sqlite';
|
||||
die "The Hydra database ($path) not exist!\n" unless -f $path;
|
||||
#warn "The Hydra database ($path) does not exist!\n" unless -f $path;
|
||||
return "dbi:SQLite:$path";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue