diff --git a/arch-graphical-install-auto b/arch-graphical-install-auto index 872e6f2..c717c59 100755 --- a/arch-graphical-install-auto +++ b/arch-graphical-install-auto @@ -4,7 +4,7 @@ set -ex if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" 1>&2 - sudo $0 $1 $2 $3 $4 $5 $6 $7 $8 $9 + sudo "$0" "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9" exit 0 fi echo "Als root Angemeldet" diff --git a/arch-install b/arch-install index 8166466..9a11584 100755 --- a/arch-install +++ b/arch-install @@ -15,7 +15,7 @@ version="${2}" if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" 1>&2 - sudo $0 $1 $2 $3 $4 $5 $6 $7 $8 $9 2>&1 | tee /home/user1/install.log + sudo "$0" "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9" 2>&1 | tee /home/user1/install.log exit 0 fi echo "Logged in as root" diff --git a/make_mksquashfs-auto.sh b/make_mksquashfs-auto.sh index deb3f58..70c4721 100755 --- a/make_mksquashfs-auto.sh +++ b/make_mksquashfs-auto.sh @@ -4,7 +4,7 @@ set -ex if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" 1>&2 - sudo $0 $1 $2 $3 $4 $5 + sudo "$0" "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9" exit 0 fi