]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph.in: --admin-daemon was not returning EINVAL on bad command 506/head
authorDan Mick <dan.mick@inktank.com>
Fri, 16 Aug 2013 00:10:56 +0000 (17:10 -0700)
committerDan Mick <dan.mick@inktank.com>
Fri, 16 Aug 2013 00:10:56 +0000 (17:10 -0700)
commit266460e97ec9ef9711e9eaa4bd954f3188d8da69
tree743191a9aee60ff5057a28227149d3ab7d689f67
parent35565ee64e41d7fddc7849c6006692c78227132c
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>
src/ceph.in