dlmarion commented on PR #6091:
URL: https://github.com/apache/accumulo/pull/6091#issuecomment-3817677388

   Good info, I didn't think it behaved that way. It looks like just adding 
parentheses works too:
   
   ```
   var=$(echo "foo" | grep "foo") || (echo "failed grep" && echo "final action")
   
   var=$(echo "foo" | grep "bar") || (echo "failed grep" && echo "final action")
   failed grep
   final action
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to