From 62c466071ddffcb741625c097091429e17230758 Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Thu, 28 Feb 2013 03:15:34 +0100 Subject: [PATCH] explicitly quit sqlite --- atom | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/atom b/atom index 971516d..0360da2 100755 --- a/atom +++ b/atom @@ -270,6 +270,10 @@ openDatabase() { } closeDatabase() { + echo .quit >&3 + (( debug )) && echo -n "Waiting for SQLite to terminate... " + wait + (( debug )) && echo OK exec 3>&- exec 4<&- rm "$tempdir"/sqlite.{in,out}