Add pipefail option to set command to prevent pipes from hiding errors, improve script reliability
This commit is contained in:
parent
e0ee195fca
commit
6fa213550d
@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
ARGS=("${@-}")
|
||||
TMP_FILE="/tmp/aicommit"
|
||||
|
Loading…
Reference in New Issue
Block a user