Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
Diffstat (limited to 'bin/db-update')
-rwxr-xr-xbin/db-update4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/db-update b/bin/db-update
index bacb0e8..503a0ae 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -340,13 +340,13 @@ fi
tmp_dir="$(mktemp -d)"
clean_up_lock_file() {
- fusermount -u "${master_mirror_sshfs}"
+ sudo /usr/bin/umount "${master_mirror_sshfs}"
rm -f "${package_database_lock_file}" "${build_list_lock_file}"
rm -rf --one-file-system "${tmp_dir}"
}
if mountpoint "${master_mirror_sshfs}" > /dev/null 2>&1; then
- fusermount -u "${master_mirror_sshfs}"
+ sudo /usr/bin/umount "${master_mirror_sshfs}"
fi
mount "${master_mirror_sshfs}"