mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
configDB.pm: exit FHEM after configdb recover
git-svn-id: https://svn.fhem.de/fhem/trunk@25791 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2b9ba418d0
commit
0e0c7df76d
@ -1040,7 +1040,8 @@ sub _cfgDB_Recover {
|
||||
# Inform user about restart required
|
||||
$ret = "Version 0 deleted.\n";
|
||||
$ret .= "Version $version copied to version 0\n\n";
|
||||
$ret .= "Please restart FHEM to activate configuration.";
|
||||
$ret .= "FHEM will exit in 3 seconds.";
|
||||
InternalTimer(gettimeofday()+3, sub {exit 0}, 0);
|
||||
} else {
|
||||
$fhem_dbh->disconnect();
|
||||
$ret = "No entries found in version $version.\nNo changes committed to database.";
|
||||
|
Loading…
Reference in New Issue
Block a user