From f480f87cfd3a6ac3315cf3302ebfc2b631de6456 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 2 Jan 2013 19:43:56 +0000 Subject: [PATCH] bin/withdraw: Make sure the database is actually open. --- bin/withdraw | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/withdraw b/bin/withdraw index ed6e740..af47bc5 100755 --- a/bin/withdraw +++ b/bin/withdraw @@ -25,6 +25,11 @@ ## Find the common utilities. source [file join [file dirname $argv0] "../lib/func.tcl"] +## Open the database +sqlite3 db "$CERTROOT/state/ca.db" +db nullvalue nil +cd "$CERTROOT" + ## Get the list of requests. if {[llength $argv] != 1} { puts stderr "Usage: $QUIS REQID" -- 2.11.0