Fix Build

This commit is contained in:
Yuki Takeya 2017-05-18 12:02:13 +09:00
parent 10527026fe
commit 62952a1f56

View file

@ -1636,7 +1636,7 @@ get_term() {
# Check $PPID for terminal emulator.
while [[ -z "$term" ]]; do
parent="$(get_ppid "$parent")"
if [ $parent -lt 2 ]; then
      if [ "$parent" -lt 2 ]; then
parent=1
term="kernel shell on $(tty)"
fi
@ -4322,4 +4322,4 @@ main() {
return 0
}
main "$@"
main "$@"