Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Overwrite an existing value if it exists in the pid lock table
Baptiste Daroussin committed 12 years ago
commit dedb60f2c30a2731fe5a4ca41f984262258f307a
parent 9905493e8efab78f0b09fd4696a719d762a388e8
1 file changed +1 -1
modified libpkg/pkgdb.c
@@ -4165,7 +4165,7 @@ static int
pkgdb_write_lock_pid(struct pkgdb *db)
{
	const char lock_pid_sql[] = ""
-
			"INSERT INTO pkg_lock_pid VALUES (?1);";
+
			"INSERT OR REPLACE INTO pkg_lock_pid VALUES (?1);";
	sqlite3_stmt	*stmt = NULL;
	int ret;