summaryrefslogtreecommitdiff
path: root/bin/common-functions
diff options
context:
space:
mode:
Diffstat (limited to 'bin/common-functions')
-rwxr-xr-xbin/common-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/common-functions b/bin/common-functions
index a6069eb..255da56 100755
--- a/bin/common-functions
+++ b/bin/common-functions
@@ -215,13 +215,13 @@ generate_package_metadata() {
--register=no \
${base_dir}/bin/mksrcinfo
- sudo umount -f "${overlays_dir}/merged"
+ sudo umount -l "${overlays_dir}/merged"
mv \
"${overlays_dir}/upper/.SRCINFO" \
"${file_prefix}.SRCINFO"
- sudo umount -f "${overlays_dir}"
+ sudo umount -l "${overlays_dir}"
rmdir "${overlays_dir}"
# otherwise this just calls for trouble