From 1e652740f74298637577e9861cb5092091404d29 Mon Sep 17 00:00:00 2001 From: Krishnan Parthasarathi Date: Mon, 31 Oct 2011 15:54:52 +0530 Subject: glusterd: Extended glusterd_is_service_running to get svcs's pid. Also, volume status cmd would print "N/A" if pid couldn't be retrieved from pidfile. Change-Id: Ie83d228b1cf86397d181885b325e337a403e6ed2 BUG: 3043 Reviewed-on: http://review.gluster.com/650 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi Reviewed-by: Vijay Bellur --- cli/src/cli.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/src/cli.h') diff --git a/cli/src/cli.h b/cli/src/cli.h index 70310f103..1d2e06973 100644 --- a/cli/src/cli.h +++ b/cli/src/cli.h @@ -236,7 +236,7 @@ cli_cmd_volume_status_parse (const char **words, int wordcount, dict_t **options); int -cli_print_brick_status (char *brick, int port, int online, int pid); +cli_print_brick_status (char *brick, int port, int online, char *pid); void cli_print_line (int len); -- cgit