Add set -e (exit on error)
This commit is contained in:
parent
eab0de4e61
commit
8256fa0c71
2 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Exit if there's an error
|
||||
set -e
|
||||
# Modify constants as needed
|
||||
GITEA_URL="https://git.askiiart.net"
|
||||
REAL_NAME="askiiart"
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#!/bin/bash
|
||||
# Exit if there's an error
|
||||
set -e
|
||||
declare -A osInfo;
|
||||
osInfo[/etc/redhat-release]=yum
|
||||
osInfo[/etc/arch-release]=pacman
|
||||
|
|
Loading…
Reference in a new issue