strict mode of bash operation: pipefail, stop on errors, stop on undefined variables
fixes https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with e.g... fixes nvidia-smi exit code checking bug. without pipefail check always successful because of `head` command.
Showing
Please register or sign in to comment