From 560bd8671f2f9ae17530ad1d23a209dc95d41f82 Mon Sep 17 00:00:00 2001 From: Aravinda VK Date: Fri, 17 Aug 2018 09:38:39 +0530 Subject: New flag to glusterfsd binary to print libexec dir New CLI option for `glusterfsd` binary to get the path of libexec directory. This helps glusterd2 to detect the installed path of `gsyncd` and other binaries. Usage: `glusterfsd --print-libexecdir` Updates: bz#1193929 Change-Id: I8c1a74afd9acec7ee7bd3deabed9d9f20fe3fb5f Signed-off-by: Aravinda VK --- libglusterfs/src/glusterfs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libglusterfs') diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index faae3429c30..b046e0dd783 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -483,6 +483,7 @@ struct _cmd_args { int print_xlatordir; int print_statedumpdir; int print_logdir; + int print_libexecdir; /* advanced options */ uint32_t volfile_server_port; char *volfile_server_transport; -- cgit