diff options
author | Prasanna Kumar Kalever <prasanna.kalever@redhat.com> | 2017-02-15 16:20:49 +0530 |
---|---|---|
committer | Prasanna Kumar Kalever <prasanna.kalever@redhat.com> | 2017-02-15 16:25:02 +0530 |
commit | b361cc1ce3ef431d6aa53003b465ef323db7e3fc (patch) | |
tree | e0545c96f0d1fd8020ae198f9cbf2fad562d343a /cli/gluster-block.c | |
parent | 86ae67f117bc2a8c385144065c01e63027248a50 (diff) |
cli: cart off unwanted output from create command
The response of below sub-operations as part of create are undesired
$ targetcli set global auto_add_default_portal=false
$ targetcli / saveconfig
$ targetcli set attributes generate_node_acls=1 demo_mode_write_protect=0
Hence redirecting them to '/dev/null'
This patch also fix a bug in the previous patch
i.e. missed inverting [!] function return in if()
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Diffstat (limited to 'cli/gluster-block.c')
0 files changed, 0 insertions, 0 deletions