chiark
/
gitweb
/
~mdw
/
ca
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
92c78e4
)
bin/withdraw: Make sure the database is actually open.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 2 Jan 2013 19:43:56 +0000
(19:43 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 2 Jan 2013 19:43:56 +0000
(19:43 +0000)
bin/withdraw
patch
|
blob
|
blame
|
history
diff --git
a/bin/withdraw
b/bin/withdraw
index ed6e740bcba9d56ec382a5ef7fac634084ff872b..af47bc50c1216796928b8da2a170f8fbbd6045db 100755
(executable)
--- a/
bin/withdraw
+++ b/
bin/withdraw
@@
-25,6
+25,11
@@
## Find the common utilities.
source [file join [file dirname $argv0] "../lib/func.tcl"]
## 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"
## Get the list of requests.
if {[llength $argv] != 1} {
puts stderr "Usage: $QUIS REQID"