diff options
| author | Kaushik BV <kaushikbv@gluster.com> | 2011-04-21 06:55:44 +0000 |
|---|---|---|
| committer | gluster-ant <bugzilla-bot@gluster.org> | 2011-04-21 06:55:44 +0000 |
| commit | 1117253a6856da64883a71299f8192dca9d33c8a (patch) | |
| tree | 35e0ae868aefd02d54817651691cacc08a8564e6 /cli/src/cli-cmd-system.c | |
| parent | b703b18fff9d5f9945f1c94c28f1dc1771d77145 (diff) | |
cli: changes in struct cli_cmd to disable gluster command at run-time
Signed-off-by: Kaushik BV <kaushikbv@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2744 (make geo-replication package friendly)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2744
Diffstat (limited to 'cli/src/cli-cmd-system.c')
| -rw-r--r-- | cli/src/cli-cmd-system.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/src/cli-cmd-system.c b/cli/src/cli-cmd-system.c index 3630024890..2dff572fda 100644 --- a/cli/src/cli-cmd-system.c +++ b/cli/src/cli-cmd-system.c @@ -221,8 +221,8 @@ cli_cmd_system_register (struct cli_state *state) struct cli_cmd *cmd = NULL; for (cmd = cli_system_cmds; cmd->pattern; cmd++) { - ret = cli_cmd_register (&state->tree, cmd->pattern, cmd->cbk, - cmd->desc); + + ret = cli_cmd_register (&state->tree, cmd); if (ret) goto out; } |
