Project

General

Profile

bacula.py.patch

Benjamin Bohard, 01/20/2014 04:04 PM

Download (708 Bytes)

View differences:

pyeole/bacula.py
313 313
            if mount_point_status['has_rights'] == True:
314 314
                is_mounted = True
315 315
            elif chown == True:
316
                system_out_catched(['chown', 'bacula:tape', MOUNT_POINT])
316
                try:
317
                    system_out_catched(['chown', 'bacula:tape', MOUNT_POINT])
318
                except Exception as e:
319
                    print str(e)
320
                else:
321
                    is_mounted = True
317 322
            else:
318 323
                umount_bacula_support()
319 324
        else: