Skip to content

Commit

Permalink
late/scripts/chroot.sh: syntax error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuan-Chen Cheng authored and superm1 committed Oct 14, 2020
1 parent d26965f commit 379b789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion late/scripts/chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 379b789

Please sign in to comment.