Remove mysql pipes early
This commit is contained in:
parent
b4afedb70f
commit
dc29803438
@ -7,5 +7,4 @@ closeDatabase() {
|
|||||||
(( debug )) && echo OK
|
(( debug )) && echo OK
|
||||||
exec 3>&-
|
exec 3>&-
|
||||||
exec 4<&-
|
exec 4<&-
|
||||||
rm "$tempdir"/sqlite.{in,out}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,6 +7,7 @@ openDatabase() {
|
|||||||
> "$tempdir/sqlite.out" &
|
> "$tempdir/sqlite.out" &
|
||||||
exec 3> "$tempdir"/sqlite.in
|
exec 3> "$tempdir"/sqlite.in
|
||||||
exec 4< "$tempdir"/sqlite.out
|
exec 4< "$tempdir"/sqlite.out
|
||||||
|
rm "$tempdir"/sqlite.in "$tempdir"/sqlite.out
|
||||||
if (( debug > 2 ))
|
if (( debug > 2 ))
|
||||||
then
|
then
|
||||||
exec 5>&3
|
exec 5>&3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user