github.com/canonical/ubuntu-image@v0.0.0-20240430122802-2202fe98b290/tests/lib/external/snapd-testing-tools/tools/not (about) 1 #!/bin/sh 2 # This script executes whatever is given as argument and inverts the return 3 # value. It is meant as a workaround for shellcheck discovery 4 # https://github.com/koalaman/shellcheck/wiki/SC2251 where shell scripts using 5 # "set -e" are not failing with a trivial code like "! true" 6 ! "$@"