mirror of
https://github.com/Kron4ek/Conty
synced 2024-12-27 09:58:25 +01:00
Remove exit delay
This commit is contained in:
parent
80ef7c393d
commit
9313aa4e74
1 changed files with 1 additions and 2 deletions
|
@ -31,7 +31,7 @@ export working_dir=/tmp/"$(basename "${script}")"_"${USER}"_"${script_md5}"
|
||||||
# a problem with mounting the squashfs image due to an incorrectly calculated offset.
|
# a problem with mounting the squashfs image due to an incorrectly calculated offset.
|
||||||
|
|
||||||
# The size of this script
|
# The size of this script
|
||||||
scriptsize=18006
|
scriptsize=17996
|
||||||
|
|
||||||
# The size of the utils.tar archive
|
# The size of the utils.tar archive
|
||||||
# utils.tar contains bwrap and squashfuse binaries
|
# utils.tar contains bwrap and squashfuse binaries
|
||||||
|
@ -457,7 +457,6 @@ trap_exit () {
|
||||||
"${fmount}" -uz "${working_dir}"/mnt 2>/dev/null || \
|
"${fmount}" -uz "${working_dir}"/mnt 2>/dev/null || \
|
||||||
${sudo_umount} umount --lazy "${working_dir}"/mnt 2>/dev/null
|
${sudo_umount} umount --lazy "${working_dir}"/mnt 2>/dev/null
|
||||||
|
|
||||||
sleep 1
|
|
||||||
rm -rf "${working_dir}"
|
rm -rf "${working_dir}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue