mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Fix for restore job locking when using SQLite
The SQLite db handle left open prevents the job from starting and permanently freezes "s dir" command in bconsole. Not tested with mysql and postgresql (but it shouldn't hurt)
This commit is contained in:
@@ -62,6 +62,8 @@ else {
|
|||||||
@clients = ( [ $in{'client'}, $in{'job'} ] );
|
@clients = ( [ $in{'client'}, $in{'job'} ] );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$dbh->disconnect();
|
||||||
|
|
||||||
foreach $clientjob (@clients) {
|
foreach $clientjob (@clients) {
|
||||||
$client = $clientjob->[0];
|
$client = $clientjob->[0];
|
||||||
$job = $clientjob->[1];
|
$job = $clientjob->[1];
|
||||||
|
|||||||
Reference in New Issue
Block a user