]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph.in: Fix name retval is not defined error
authorVarsha Rao <varao@redhat.com>
Mon, 24 Feb 2020 13:10:30 +0000 (18:40 +0530)
committerVarsha Rao <varao@redhat.com>
Mon, 24 Feb 2020 16:48:08 +0000 (22:18 +0530)
commit1dd27398d4e13e9523b5590a251bb94cdc934ab9
tree1f6e8ec1f04a03a46925ee16a405ba4bd475c5c2
parent12d9d00f3bca88ffd4f0b87945141a8c5276e4c1
ceph.in: Fix name retval is not defined error

In case of exceptions other than KeyboardInterrupt, retval is not defined.
Move exit call outside the finally block.

Fixes: https://tracker.ceph.com/issues/44275
Signed-off-by: Varsha Rao <varao@redhat.com>
src/ceph.in