Add set -e to all scripts
This commit is contained in:
parent
49e9bff013
commit
a31cd280e3
3 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
# Detect the server type
|
||||
function get_existing_server {
|
||||
if ls paper-*.jar 1> /dev/null 2>&1; then
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
# Setup Java
|
||||
function setup_java {
|
||||
# Get the required Java version for the Minecraft version
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
# API URL
|
||||
api_url="https://api.papermc.io/v2/projects/paper/versions/$version/builds"
|
||||
|
||||
|
|
Loading…
Reference in a new issue