]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph.in: --admin-daemon was not returning EINVAL on bad command
authorDan Mick <dan.mick@inktank.com>
Fri, 16 Aug 2013 00:10:56 +0000 (17:10 -0700)
committerSage Weil <sage@inktank.com>
Fri, 16 Aug 2013 00:14:50 +0000 (17:14 -0700)
commit1aa01910957e967e87e46b86f1e67844148703e3
tree272920b79ac1318800fde4c149f62706959ac82a
parentd290a91525c3ebc6941dae2bb55f0bfbf120cb60
ceph.in: --admin-daemon was not returning EINVAL on bad command

Fix by restructuring code to hoist common code and have only one
place where admin_socket is actually called.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
(cherry picked from commit 266460e97ec9ef9711e9eaa4bd954f3188d8da69)
src/ceph.in