dehydrated icon indicating copy to clipboard operation
dehydrated copied to clipboard

zsh errexit causes failed grep to exit

Open sevmonster opened this issue 4 years ago • 0 comments

I noticed that my cert renewals were coming back with no output. I've managed to track it down to line 146. It appears that since shwordsplit isn't set in my environment, the grep fails, and the script exits. Turning off errexit for this line allows the script to continue. I do not experience this issue with Bash.

sevmonster avatar Nov 28 '21 20:11 sevmonster