diff --git a/scripts/InstallScripts/FlashKernelPart.sh b/scripts/InstallScripts/FlashKernelPart.sh index d285b69..aabfd0b 100755 --- a/scripts/InstallScripts/FlashKernelPart.sh +++ b/scripts/InstallScripts/FlashKernelPart.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # This file is part of PrawnOS (http://www.prawnos.com) # Copyright (c) 2018 Hal Emmerich @@ -75,6 +75,8 @@ get_root_partition() # ------------- BEGIN SCRIPT EXECUTION -------------------- +set -e + # Check root or sudo [ ! $(id -u) = 0 ] && die "Please run this script with sudo, or as root" 1 diff --git a/scripts/LibKernelUpgrade.sh b/scripts/LibKernelUpgrade.sh index d523a02..869c0be 100755 --- a/scripts/LibKernelUpgrade.sh +++ b/scripts/LibKernelUpgrade.sh @@ -1,4 +1,4 @@ -#!/bin/bash -x +#!/bin/bash # This file is part of PrawnOS (http://www.prawnos.com) # Copyright (c) 2018 Hal Emmerich