From 2fbf55c7ede434476b33b1883e7ab1be25531b3f Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Sat, 15 Jul 2023 19:26:26 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20:=20transformation=20des=20espaces=20en?= =?UTF-8?q?=20retours=20chariot=20dans=20la=20variable=20qui=20contient=20?= =?UTF-8?q?les=20verbes=20possibles=20dans=20headlessvnc=20pour=20un=20gre?= =?UTF-8?q?p=20plus=20pr=C3=A9cis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/headlessvnc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/headlessvnc b/bin/headlessvnc index 3d8f544..a46bcc1 100755 --- a/bin/headlessvnc +++ b/bin/headlessvnc @@ -99,7 +99,7 @@ else fi # Main switch -if echo "$verbs" | grep -q "$arg"; then +if echo "$verbs" | tr ' ' '\n' | grep -q "$arg"; then "public_${arg}" else error_help