Reduce unmount delay a bit

This commit is contained in:
Kron4ek 2023-06-18 20:15:39 +05:00
parent 1149011f2f
commit bb8f622557

View file

@ -1,8 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
## Dependencies: bash gzip fuse2 (or fuse3) tar coreutils ## Dependencies: bash gzip fuse2 (or fuse3) tar coreutils
LD_PRELOAD_ORIG="${LD_PRELOAD:-}" LD_PRELOAD_ORIG="${LD_PRELOAD}"
LD_LIBRARY_PATH_ORIG="${LD_LIBRARY_PATH:-}" LD_LIBRARY_PATH_ORIG="${LD_LIBRARY_PATH}"
unset LD_PRELOAD LD_LIBRARY_PATH unset LD_PRELOAD LD_LIBRARY_PATH
msg_root=" msg_root="
@ -28,7 +28,7 @@ script_version="1.24.2"
# size to 0 # size to 0
init_size=50000 init_size=50000
bash_size=1490760 bash_size=1490760
script_size=37197 script_size=37193
busybox_size=1161112 busybox_size=1161112
utils_size=4321630 utils_size=4321630
@ -782,7 +782,7 @@ run_bwrap () {
} }
exit_function () { exit_function () {
sleep 5 sleep 3
rm -f "${working_dir}"/running_"${script_id}" rm -f "${working_dir}"/running_"${script_id}"