Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f19ae14

Browse files
committed
Update so init displays status with setproctitle too, like the rest of them.
1 parent a267c88 commit f19ae14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/include/utils/ps_status.h

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ extern char Ps_status_buffer[];
2020
#define PS_INIT_STATUS(argc, argv, execname, username, hostname, dbname) \
2121
do { \
2222
sprintf(Ps_status_buffer, "%s %s %s %s", execname, hostname, username, dbname); \
23+
setproctitle("%s", Ps_status_buffer); \
2324
} while (0)
2425

2526
#define PS_CLEAR_STATUS() \

0 commit comments

Comments
 (0)