diff options
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/cross_linux.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/cross_linux.cc b/src/lib/cross_linux.cc index 8ce72d6fc..510bce8c3 100644 --- a/src/lib/cross_linux.cc +++ b/src/lib/cross_linux.cc @@ -356,6 +356,7 @@ bool Drive::unmount () { for (auto i: _mount_points) { + PrivilegeEscalator esc; int const r = umount(i.string().c_str()); LOG_DISK("Tried to unmount %1 and got %2 and %3", i.string(), r, errno); if (r == -1) { |
