>>92636618there's no bashisms, so it's technically sh. but it does use the `local` keyword, which is not POSIX, but is the one thing debian calls for in their scripts outside of POSIX, so I call it POSIX sh.
also it's broken, `do_alert=true` doesn't get set because you can't modify variables from inside a pipe, apparently. the fix is very ugly and I'm to embarrassed I knew a way to fix it.