aboutsummaryrefslogtreecommitdiff
path: root/alpine-chroot-delete
diff options
context:
space:
mode:
Diffstat (limited to 'alpine-chroot-delete')
-rwxr-xr-xalpine-chroot-delete2
1 files changed, 1 insertions, 1 deletions
diff --git a/alpine-chroot-delete b/alpine-chroot-delete
index e37a076..71af53f 100755
--- a/alpine-chroot-delete
+++ b/alpine-chroot-delete
@@ -25,7 +25,7 @@ set -xu
umask 022
-ensure export chroot_dir="$1"
+ensure export chroot_dir="$(ensure realpath -- "$1")"
if [ "$chroot_dir" = "/" ]
then