#!/bin/sh echo "Process failed" >&2 exit -1
#!/bin/sh echo "Process failed" >&2 exit 1
You have declared your script as compatible with POSIX sh (#!/bin/sh), but appear to use return or exit with a value outside the range 0-255.
#!/bin/sh
return
exit
This is undefined behavior, and may work, wrap, or fail, depending on the implementation.
Avoid implementation specific behavior by only using return and exit codes in the range 0-255.
None.
There was an error while loading. Please reload this page.