How to compare output of Run Shell Script action to a value
My Shortcut uses the Run Shell Script action which invokes a shell script which outputs either a positive integer for success or 0 for failure. How do I test the output for 0? It seems the only choices for comparison are whether there is or is not a value, but not to test the actual value.
MacBook Pro 16″