Bash error handling

This commit is contained in:
RealStickman 2020-10-12 07:16:00 +02:00
parent b9b0d230e4
commit 3f867d3eba

View File

@ -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