Show filename on exec failure.
This commit is contained in:
parent
1572800b16
commit
0957e08ac3
@ -10,7 +10,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.82 1998/06/08 19:15:05 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.83 1998/06/08 19:36:40 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
*
|
||||
@ -316,7 +316,7 @@ PostmasterMain(int argc, char *argv[])
|
||||
new_argv[i] = "";
|
||||
new_argv[4] = NULL;
|
||||
execv(new_argv[0], new_argv);
|
||||
perror("");
|
||||
perror(new_argv[0]);
|
||||
/* How did we get here, error! */
|
||||
fprintf(stderr, "PostmasterMain execv failed on %s\n", argv[0]);
|
||||
exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user