Not quiet

This commit is contained in:
Bob Mottram 2017-04-12 17:42:07 +01:00
parent 942205d352
commit 0b93a11402
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ function get_completion_param {
if [ ${#param_name} -gt 0 ]; then
if [ $COMPLETION_FILE ]; then
if [ -f $COMPLETION_FILE ]; then
if grep -q "${param_name}:" $COMPLETION_FILE; then
if grep "${param_name}:" $COMPLETION_FILE; then
param_value=$(cat $COMPLETION_FILE | grep "${param_name}:" | head -n 1 | awk -F ':' '{print $2}')
echo "$param_value"
return