aboutsummaryrefslogtreecommitdiff
path: root/rp/config/rpki-sql-setup
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-04-26 20:07:41 +0000
committerRob Austein <sra@hactrn.net>2016-04-26 20:07:41 +0000
commit01697787912f143ab2b9a938e33c73c9a8a9ae0b (patch)
tree8065ac9a88d697678de0ad68c13683c6c2f5dd69 /rp/config/rpki-sql-setup
parent1447a61b235699163f186ef689ca8eaf898ee478 (diff)
Further consolidation of config file parsing, command line parsing,
and logging setup. Most programs now use the unified mechanism, although there are still a few holdouts: the GUI, which is a special case because it has no command line, and the rpki-rtr program, which, for historical reasons has its own implementation of the logging setup infrastructure. svn path=/branches/tk705/; revision=6390
Diffstat (limited to 'rp/config/rpki-sql-setup')
-rwxr-xr-xrp/config/rpki-sql-setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/rp/config/rpki-sql-setup b/rp/config/rpki-sql-setup
index 98ef2898..6fd64588 100755
--- a/rp/config/rpki-sql-setup
+++ b/rp/config/rpki-sql-setup
@@ -199,7 +199,7 @@ class PostgreSQL_Driver(Abstract_Driver):
pw = pwd.getpwnam(udb.username)
uid = self._seteuid(pw.pw_uid)
try:
- self.driver.connect(database = udb.database, user = udb.username , password = usb.password).close()
+ self.driver.connect(database = udb.database, user = udb.username , password = udb.password).close()
finally:
self._seteuid(uid)