]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tools/cephfs_mirror: only perform actions if init succeed 52524/head
authorDhairya Parmar <dparmar@redhat.com>
Wed, 2 Aug 2023 07:42:19 +0000 (13:12 +0530)
committerDhairya Parmar <dparmar@redhat.com>
Tue, 8 Aug 2023 10:15:56 +0000 (15:45 +0530)
commit281c88bcc1516899a831fb083b230b69cd1a51aa
treec060bb18399b8f06451b014928b233408f31930f
parent4e5d8004063cd95ea65d167eb1be365a0539eb10
tools/cephfs_mirror: only perform actions if init succeed

address non-zero return code first and then perform further
actions.

Fixes: https://tracker.ceph.com/issues/62357
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
src/tools/cephfs_mirror/Mirror.cc