Skip to content

Commit e70ba86

Browse files
committed
primitive: strict_mode: Eliminate multiple calls to set
Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
1 parent fdef02c commit e70ba86

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Source Code/Shell Script(GNU Bash)(primitive).template.bash

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44

55
## Makes debuggers' life easier - Unofficial Bash Strict Mode
66
## BASHDOC: Shell Builtin Commands - Modifying Shell Behavior - The Set Builtin
7-
set -o errexit
8-
set -o errtrace
9-
set -o nounset
10-
set -o pipefail
7+
set \
8+
-o errexit \
9+
-o errtrace \
10+
-o nounset \
11+
-o pipefail
1112

1213
## Runtime Dependencies Checking
1314
declare\

0 commit comments

Comments
 (0)