From 5bda390dffe878879a82aa51bb6927e3d6fedc2d Mon Sep 17 00:00:00 2001 From: mevemo <76873680+mevemo@users.noreply.github.com> Date: Sun, 24 Mar 2024 13:07:35 +0100 Subject: [PATCH] Adding 'set -e' to ensure script termination on error This change modifies the script's shebang to include the '-e' option, ensuring that the script exits immediately if a command exits with a non-zero status. This enhancement aims to improve the robustness and reliability of the installation process by preventing the script from continuing execution in the event of an error, which could lead to incomplete or incorrect installations. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 54d8b473d..fc285d574 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e # Check for root privileges if [ "$(id -u)" != "0" ]; then