tools/cephfs: fix traceback from missing envvar

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
Patrick Donnelly 2023-01-12 16:12:52 -05:00
parent cb17f28627
commit fc7bf39dee
No known key found for this signature in database
GPG Key ID: BE69BB7D36E459B4

View File

@ -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