ivle-mountallusers -u prints unnecessary error messages

Bug #493909 reported by Matt Giuca
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IVLE
Triaged
Medium
Unassigned

Bug Description

When running ivle-mountallusers, any user which is *not* mounted will print an error message.

For exampple:
umount: /var/lib/ivle/jailmounts/admin/tmp: not found
umount: /var/lib/ivle/jailmounts/admin/home: not found
umount: /var/lib/ivle/jailmounts/admin: not mounted
umount: /var/lib/ivle/jailmounts/lecturer/tmp: not found
umount: /var/lib/ivle/jailmounts/lecturer/home: not found
umount: /var/lib/ivle/jailmounts/lecturer: not mounted
umount: /var/lib/ivle/jailmounts/studentb/tmp: not found
umount: /var/lib/ivle/jailmounts/studentb/home: not found
umount: /var/lib/ivle/jailmounts/studentb: not found

This is completely unnecessary as it's perfectly reasonable for a student to not be mounted. Suppress these errors.

Tags: scripts
William Grant (wgrant)
Changed in ivle:
milestone: 1.0 → none
assignee: William Grant (wgrant) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.