aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pq/pq_connect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pq/pq_connect.c b/src/pq/pq_connect.c
index 05e787939..a2dce3fb0 100644
--- a/src/pq/pq_connect.c
+++ b/src/pq/pq_connect.c
@@ -143,7 +143,7 @@ apply_patch (struct GNUNET_PQ_Context *db,
143 "Applying SQL file `%s' on database %s\n", 143 "Applying SQL file `%s' on database %s\n",
144 buf, 144 buf,
145 db->config_str); 145 db->config_str);
146 psql = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_NONE, 146 psql = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_ERR,
147 NULL, 147 NULL,
148 NULL, 148 NULL,
149 NULL, 149 NULL,
@@ -172,7 +172,7 @@ apply_patch (struct GNUNET_PQ_Context *db,
172 (0 != code) ) 172 (0 != code) )
173 { 173 {
174 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, 174 GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
175 "Could not run PSQL on file %s: %d\n", 175 "Could not run PSQL on file %s: psql exit code was %d\n",
176 buf, 176 buf,
177 (int) code); 177 (int) code);
178 return GNUNET_SYSERR; 178 return GNUNET_SYSERR;