Exit script on error

This commit is contained in:
Manuel Thalmann 2024-03-25 00:26:12 +01:00
parent d5b1c23c92
commit 9329729f3b
6 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e
pushd "${BASH_SOURCE%/*}" > /dev/null;
function installDrivers() {

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e
pushd "${BASH_SOURCE%/*}" > /dev/null;
extraMounts()

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e
pushd "${BASH_SOURCE%/*}" > /dev/null;
function installDrivers() {

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e
pushd "${BASH_SOURCE%/*}" > /dev/null;
ARCH_MOUNT_ROOT="/mnt" \

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e
rootDir="${BASH_SOURCE%/*}";
customPortValhallaSudoConfigFile="/etc/sudoers.d/1337_PortValhalla"
pushd "$rootDir" > /dev/null;

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash -e
pushd "${BASH_SOURCE%/*}" > /dev/null;
ARCH_TIMEZONE="${ARCH_TIMEZONE:-"Europe/Zurich"}";