Fix bash shell SP1 problem
Modify $XTERM $SP1 if condition statement.