You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
579 B
12 lines
579 B
diff -u -r ../postgresql-9.6.2/src/bin/pg_ctl/pg_ctl.c ./src/bin/pg_ctl/pg_ctl.c
|
|
--- ../postgresql-9.6.2/src/bin/pg_ctl/pg_ctl.c 2017-02-06 22:45:25.000000000 +0100
|
|
+++ ./src/bin/pg_ctl/pg_ctl.c 2017-03-05 14:47:06.985823535 +0100
|
|
@@ -466,7 +466,7 @@
|
|
snprintf(cmd, MAXPGPATH, "exec \"%s\" %s%s < \"%s\" 2>&1",
|
|
exec_path, pgdata_opt, post_opts, DEVNULL);
|
|
|
|
- (void) execl("/bin/sh", "/bin/sh", "-c", cmd, (char *) NULL);
|
|
+ (void) execl("@TERMUX_PREFIX@/bin/sh", "sh", "-c", cmd, (char *) NULL);
|
|
|
|
/* exec failed */
|
|
write_stderr(_("%s: could not start server: %s\n"),
|
|
|