diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-02-02 12:28:12 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-02-02 12:28:12 +0800 |
| commit | 8a8be66768c7e1315ef4a1f02dadff4d6a5c0c14 (patch) | |
| tree | 4fdac180bf4b054fb169df37abdec7310e8e89a5 | |
| parent | a49505b39f680d910148f5678a5b31cb3f8e3db4 (diff) | |
| download | autils-8a8be66768c7e1315ef4a1f02dadff4d6a5c0c14.tar.gz autils-8a8be66768c7e1315ef4a1f02dadff4d6a5c0c14.zip | |
fix apkg-chroot not unmounting when exit
| -rwxr-xr-x | apkg-chroot | 2 |
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" ] || { |