Use pipefail and nounset for safety
This commit is contained in:
parent
659eed4d95
commit
e6a65599c4
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
cloned_dir="$1"
|
||||
destination_dir="$2"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue