This commit is contained in:
Takeya Yuki 2017-05-18 14:56:35 +08:00
parent 7e176284a7
commit 4781f48e27

View file

@ -1639,7 +1639,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