mirror of
https://github.com/ceph/ceph
synced 2025-01-02 09:02:34 +00:00
Merge pull request #37143 from dvanders/dvanders_flush
ceph.in: ignore failures to flush stdout Reviewed-by: Patrick Donnelly <pdonnell@redhat.com> Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
d814c5533b
@ -1256,8 +1256,12 @@ def main():
|
||||
except IOError as e:
|
||||
if e.errno != errno.EPIPE:
|
||||
raise e
|
||||
try:
|
||||
sys.stdout.flush()
|
||||
except IOError as e:
|
||||
if e.errno != errno.EPIPE:
|
||||
raise e
|
||||
|
||||
sys.stdout.flush()
|
||||
|
||||
# Block until command completion (currently scrub and deep_scrub only)
|
||||
if block:
|
||||
|
Loading…
Reference in New Issue
Block a user