From baf0638097e914d508e5250ea5708d43d83e30f6 Mon Sep 17 00:00:00 2001 From: simono41 Date: Sat, 7 Apr 2018 19:07:06 +0200 Subject: [PATCH] fix --- arch-graphical-install-auto | 2 +- arch-install | 2 +- make_mksquashfs-auto.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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