]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephfs-shell: Catch OSError exceptions in lcd
authorVarsha Rao <varao@redhat.com>
Mon, 10 Jun 2019 11:12:58 +0000 (16:42 +0530)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 20 Jun 2019 22:30:40 +0000 (15:30 -0700)
commit73e2b97bac40e9d99b8494e6ee70a3060d3029d7
tree3afcb44546b833a70bc0604aa2b807135ecb8fab
parent44e3e86e096f402d00c8f4d821356cd3fd5cc30a
cephfs-shell: Catch OSError exceptions in lcd

This patch adds try-except statement to catch the OSError exceptions.

Fixes: http://tracker.ceph.com/issues/40243
Signed-off-by: Varsha Rao <varao@redhat.com>
(cherry picked from commit 4b958532e6c9648b73bdd78e0758ca6ddc4cf344)
src/tools/cephfs/cephfs-shell