diff --git a/src/tools/cephfs/first-damage.py b/src/tools/cephfs/first-damage.py index 0446aacf177..db61f972b46 100644 --- a/src/tools/cephfs/first-damage.py +++ b/src/tools/cephfs/first-damage.py @@ -56,7 +56,7 @@ MEMO = None REMOVE = False POOL = None NEXT_SNAP = None -CONF = os.environ['CEPH_CONF'] +CONF = os.environ.get('CEPH_CONF') REPAIR_NOSNAP = None CEPH_NOSNAP = 0xfffffffe # int32 -2