Merge e0e2f82514
into b0586d08f3
This commit is contained in:
commit
75e2e540c3
2
fatrat
2
fatrat
|
@ -1560,7 +1560,7 @@ sleep 0.5
|
|||
fi
|
||||
|
||||
#Checking if user is using a local terminal or a remote shell
|
||||
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
|
||||
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ] && [ -z "$(xdpyinfo 2>/dev/null)" ]; then
|
||||
echo -e $red [✔]::[Terminal]: remote ;
|
||||
echo ""
|
||||
echo -e $red "Fatrat & Setup does not work over a remote secure shell ."
|
||||
|
|
2
setup.sh
2
setup.sh
|
@ -1412,7 +1412,7 @@ echo -e "$green" "Checking type of shell ...."
|
|||
sleep 1
|
||||
|
||||
#Check if user is using a remote shell or a local terminal
|
||||
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
|
||||
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ] && [ -z "$(xdpyinfo 2>/dev/null)" ]; then
|
||||
echo "[remote]"
|
||||
echo ""
|
||||
echo -e "$red" "Fatrat & Setup does not work over a remote secure shell ."
|
||||
|
|
Loading…
Reference in New Issue