Project

General

Profile

« Previous | Next » 

Revision 2ede2b9b

Added by Alexis Mousset over 7 years ago

Fixes #9799: Grep error when running the agent

View differences:

share/lib/common.sh
# Warn on potentially invalid arguments
if grep -- -- "$*" > /dev/null
if echo "$*" | grep "\-\-" > /dev/null 2>&1
then
echo "Warning: Long arguments are not supported, you probably tried to use one!"
fi

Also available in: Unified diff