an excerpt of a startup script looks like this:
ENABLED=1
test "$ENABLED" != "0" || exit 0
The problem is, no matter if Enabled is set to 0 or 1, the script always exits at that line. I looked up "man test" and as far as I understand it, test will always evaluate the expression and then exit(!!) with the return code? Is this correct. So This script will, at this line, always exit no matter what the value of the variable is? (so its buggy).
thanks!! jens