From 8a8be66768c7e1315ef4a1f02dadff4d6a5c0c14 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Sun, 2 Feb 2025 12:28:12 +0800 Subject: fix apkg-chroot not unmounting when exit --- apkg-chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ] || { -- cgit v1.2.3