appdwarf: reduce the change of unmounts failing slightly

This commit is contained in:
Phantop 2024-04-07 15:23:08 -04:00
parent f87a42698e
commit 60dfcd3a66
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ header() {
dwarfs -o offset=auto -o tidy_strategy=swap -o workers="$(nproc)" "$0" "$APPDIR"
trap 'fusermount -quz $APPDIR; rmdir $APPDIR' 0 1 2 3 6 14 15 EXIT
"$APPDIR/AppRun" "$@"
fusermount -quz "$APPDIR"
rmdir "$APPDIR"
exit $?
}