Bash error handling
This commit is contained in:
parent
b9b0d230e4
commit
3f867d3eba
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
#change to home (does not show in terminal)
|
#change to home (does not show in terminal)
|
||||||
cd "$HOME" || exit
|
cd "$HOME" || exit
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user