warnd ont die if types doesnt exist
This commit is contained in:
6
start.sh
6
start.sh
@@ -30,6 +30,10 @@ msg() {
|
||||
>&2 printf '[*] %s ...\n' "$*"
|
||||
}
|
||||
|
||||
warn() {
|
||||
>&2 printf '\n\n<<<< WARNING: %s >>>>>\n\n' "$*"
|
||||
}
|
||||
|
||||
die() {
|
||||
msg "$*"
|
||||
exit 1
|
||||
@@ -178,7 +182,7 @@ patch_types() {
|
||||
die "Failed while running maps types edit script"
|
||||
|
||||
else
|
||||
die "Could not find $DAYZ_FILES/server_configs/types/$MAP_FOLDER_NAME.sh"
|
||||
warn "Could not find $DAYZ_FILES/server_configs/types/$MAP_FOLDER_NAME.sh"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user