2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-01 14:35:29 +00:00

[#2786] fix grep: warning: stray \ before -

This commit is contained in:
Andrei Pavel
2023-05-19 09:00:43 +03:00
parent dfed0236b8
commit 01137a1366
13 changed files with 14 additions and 14 deletions

View File

@@ -40,7 +40,7 @@ fi
# query information_schema for the right database.
for arg in "${@}"
do
if ! printf '%s' "${arg}" | grep -Eq '^\-\-'
if ! printf '%s' "${arg}" | grep -Eq -- '^--'
then
schema="$arg"
break