diff --git a/lib/database/close b/lib/database/close index 19a412b..9fb38ca 100644 --- a/lib/database/close +++ b/lib/database/close @@ -7,5 +7,4 @@ closeDatabase() { (( debug )) && echo OK exec 3>&- exec 4<&- - rm "$tempdir"/sqlite.{in,out} } diff --git a/lib/database/open b/lib/database/open index ce86d95..e04131f 100644 --- a/lib/database/open +++ b/lib/database/open @@ -7,6 +7,7 @@ openDatabase() { > "$tempdir/sqlite.out" & exec 3> "$tempdir"/sqlite.in exec 4< "$tempdir"/sqlite.out + rm "$tempdir"/sqlite.in "$tempdir"/sqlite.out if (( debug > 2 )) then exec 5>&3