diff --git a/late/scripts/chroot.sh b/late/scripts/chroot.sh index cf6b3ad0..de0b8ea0 100755 --- a/late/scripts/chroot.sh +++ b/late/scripts/chroot.sh @@ -81,7 +81,7 @@ if ! mount | grep "$TARGET/run"; then MOUNT_CLEANUP="$TARGET/run $MOUNT_CLEANUP" fi if ! mount | grep "$TARGET/pts"; then - if ! -e "$TARGET/pts"; then + if [ ! -e "$TARGET/pts"]; then mkdir -p "$TARGET/pts" DIR_CLEANUP="$TARGET/pts $DIR_CLEANUP" fi