diff --git a/reStream.sh b/reStream.sh index ef34d01..65efd5b 100755 --- a/reStream.sh +++ b/reStream.sh @@ -100,12 +100,10 @@ ssh_cmd() { VER=$VERSION_ID fi - if [ "$OS" == "Fedora" ]; then - if [ "$VER" == "33" ]; then - ssh -o ConnectTimeout=1 -o PasswordAuthentication=no "remarkable" "$@" - fi + if [ "$OS" == "Fedora" ] && [ "$VER" == "33" ]; then + ssh -o ConnectTimeout=1 -o PasswordAuthentication=no "remarkable" "$@" else - ssh -o ConnectTimeout=1 -o PasswordAuthentication=no "root@$remarkable" "$@" + ssh -o ConnectTimeout=1 -o PasswordAuthentication=no "root@$remarkable" "$@" fi }