index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-06-22 14:43:23 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-06-22 14:43:23 +0200 |
commit | ed398c76dee2d2c0f5f4b870bf8379dfdbb583cd (patch) | |
tree | f75c252f20e7839a1b72ba49729eee50f7048585 /bin/db-update | |
parent | 0847f4d2b2cb347677836fd41220975d2dce9917 (diff) |
-rwxr-xr-x | bin/db-update | 4 |
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}" |