* 'master' of git://git.distorted.org.uk/~mdw/ca:
bin/withdraw: Lowercase `u' in `usage:', for consistency.
bin/withdraw: Make sure the database is actually open.
## 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"
+ puts stderr "usage: $QUIS REQID"
exit 1
}
lassign $argv reqid