diff options
author | Prasanna Kumar Kalever <prasanna.kalever@redhat.com> | 2017-09-01 14:45:16 +0530 |
---|---|---|
committer | Prasanna Kumar Kalever <prasanna.kalever@redhat.com> | 2017-09-01 14:52:09 +0530 |
commit | f45ef68512a56ab438c307045a72c5efd467e593 (patch) | |
tree | e37547057b73db51578ec032f4a89433dad6f82b | |
parent | 1a0e590851fcbf7e4d8299f619625c1d31754c03 (diff) |
fix GB_TGCLI_GLOBALS macro
change in GB_TGCLI_GLOBALS macro:
's/set global/targetcli set global/' followed by a saveconfig
Change-Id: I634f9ecbd7171828cb0da01314deeec99c4dfced
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
-rw-r--r-- | daemon/gluster-blockd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/gluster-blockd.c b/daemon/gluster-blockd.c index 23089a6..1923d5f 100644 --- a/daemon/gluster-blockd.c +++ b/daemon/gluster-blockd.c @@ -21,10 +21,10 @@ # include "block.h" # include "block_svc.h" -# define GB_TGCLI_GLOBALS "set " \ +# define GB_TGCLI_GLOBALS "targetcli set " \ "global auto_add_default_portal=false " \ "auto_enable_tpgt=false " \ - "logfile=%s" + "logfile=%s && targetcli / saveconfig" extern size_t glfsLruCount; |