From dc29803438be2c336435f14466d6cf35e21d0b13 Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Fri, 9 Jun 2017 10:11:37 +0200 Subject: [PATCH] Remove mysql pipes early --- lib/database/close | 1 - lib/database/open | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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