Skip to content

Commit

Permalink
Fix an occasional broken pipe error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
wteiken committed Sep 3, 2024
1 parent b907f0a commit faf2231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dehydrated
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit faf2231

Please sign in to comment.