Skip to content

Commit

Permalink
Fix command issue and add emptt line before EOF
Browse files Browse the repository at this point in the history
  • Loading branch information
Blueve committed Oct 24, 2020
1 parent c3d5cdb commit 060d2aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions files/image_config/bash/bash.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ fi
tty | grep ttyS >/dev/null && TMOUT=900

# if SSH_TARGET_CONSOLE_LINE was set, attach to console line interactive cli directly
if [ ! -z "$SSH_TARGET_CONSOLE_LINE" ]; then
if [ -n "$SSH_TARGET_CONSOLE_LINE" ]; then
# enter the interactive cli
sudo connect $SSH_TARGET_CONSOLE_LINE
sudo connect line $SSH_TARGET_CONSOLE_LINE

# exit after console session ended
exit
fi
fi

0 comments on commit 060d2aa

Please sign in to comment.