diff --git a/src/freedombone-utils-config b/src/freedombone-utils-config index e1847843..4f97a134 100755 --- a/src/freedombone-utils-config +++ b/src/freedombone-utils-config @@ -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