From be3f3b7bd6049fb51d6e57c5573fd3f99913847f Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Wed, 9 Aug 2023 18:30:43 +0200 Subject: [PATCH] =?utf8?q?Dodanie=20opcji=20'-q'=20do=20polecenia=20grep?= =?utf8?q?=20w=20warunku=20-=20skrypt=20transmisji=20polece=C5=84=20-=20id?= =?utf8?q?le-clic?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- idle-clic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idle-clic b/idle-clic index d325a87..706b14a 100755 --- a/idle-clic +++ b/idle-clic @@ -35,7 +35,7 @@ function help() { if [ -f ~/.idle/idle.conf ]; then source ~/.idle/idle.conf; echo "IDLE Server response:"; - if echo $@ | grep 'shell'; then + if echo $@ | grep -q 'shell'; then ssh -t ${SSH_OPTS} ${RUSER}@${IDLESERVER} "idle-clis $@"; else ssh ${SSH_OPTS} ${RUSER}@${IDLESERVER} "idle-clis $@"; -- 2.39.5