Files
215 lines
8.1 KiB
Plaintext
215 lines
8.1 KiB
Plaintext
#
import os
def get_devices(device_dir, logger):
# If we can't stat the device, then something weird is going on
continue
device = [d for d in devices
if device:
errors = {}
def comment_fstab(mount_point):
else:
if __name__ == '__main__':
sys.exit(1)
sys.exit(1)
devices = get_devices(device_dir, logger)
logger.debug("Errors found: %s" % str(errors))
if count >= error_limit:
if device:
if unmounts == 0: