add missing continue for error case

This commit is contained in:
Daniel Jagszent 2015-07-02 12:56:48 +02:00
parent 86f2791fdb
commit 81d5d15dce

View file

@ -49,6 +49,7 @@ def beacon(config):
except OSError:
# Ensure a valid mount point
log.error('{0} is not a valid mount point, skipping.'.format(mount))
continue
current_usage = _current_usage.percent
monitor_usage = diskusage[mount]