forked from ahurac/dotfiles
Ajout : transformation des espaces en retours chariot dans la variable qui contient les verbes possibles dans headlessvnc pour un grep plus précis
This commit is contained in:
parent
0fbbfdc422
commit
2fbf55c7ed
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue