aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-02-02 12:28:12 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-02-02 12:28:12 +0800
commit8a8be66768c7e1315ef4a1f02dadff4d6a5c0c14 (patch)
tree4fdac180bf4b054fb169df37abdec7310e8e89a5
parenta49505b39f680d910148f5678a5b31cb3f8e3db4 (diff)
downloadautils-8a8be66768c7e1315ef4a1f02dadff4d6a5c0c14.tar.gz
autils-8a8be66768c7e1315ef4a1f02dadff4d6a5c0c14.zip
fix apkg-chroot not unmounting when exit
-rwxr-xr-xapkg-chroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/apkg-chroot b/apkg-chroot
index 0e44577..00826f7 100755
--- a/apkg-chroot
+++ b/apkg-chroot
@@ -35,7 +35,7 @@ umountall() {
exit 1
}
-TARGET=$1
+TARGET=$(realpath $1)
trap umountall 1 2 3 15
[ "$1" ] || {