Skip to content

Prevent crashing of reform_compstat when unplugging a USB stick

This change prevents crashing of reform_compstat, when a negative value is returned from disk_io_counters() - this can happen when unmounting and unplugging a USB stick, causing reform_compstat to crash with an IndexError exception, as draw_bar will fail to find the appropriate character to display with a negative value.

Edited by Artem Popov

Merge request reports

Loading