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:
@@ -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
|
||||
|
Reference in New Issue
Block a user