diff --git a/dehydrated b/dehydrated index a15fb048..3d05b33b 100755 --- a/dehydrated +++ b/dehydrated @@ -118,7 +118,7 @@ jsonsh() { local ESCAPE local CHAR - if echo "test string" | grep -Eao --color=never "test" >/dev/null 2>&1 + if echo "test string" 2>/dev/null| grep -Eao --color=never "test" >/dev/null 2>&1 then GREP='grep -Eao --color=never' else