If the 'if' clause ends executing a goto, there is no need for an else
clause that only prints a message about the success of the action.
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Copy contents of bufferlist to a string before sending to stdout since a
bufferlist is not null terminated.
Fixes: #7822
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>