Skip to content

Commit

Permalink
Merge pull request #1 from tdaitx/patch-1
Browse files Browse the repository at this point in the history
Fix warning when running scp over openssh-server
  • Loading branch information
Fourdee committed May 6, 2015
2 parents 7190f72 + f7798bd commit 52cb572
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dietpi/login
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
if (( $DIETPI_INSTALL_STAGE == 1 )); then

#Boot to specific Program
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then
if [ -z "$DISPLAY" ] && [ "$(tty)" == /dev/tty1 ]; then
#Kodi
if (( $AUTO_BOOT_INDEX == 1 )); then
#Debian
Expand Down Expand Up @@ -97,4 +97,4 @@

#Run whole script in a function. Loads into memory, allows for online file patching.
exit
}
}

0 comments on commit 52cb572

Please sign in to comment.