From 974c4b67c7a9241887ca223d978f47052b29e575 Mon Sep 17 00:00:00 2001 From: Tony Fahrion Date: Wed, 28 Jun 2017 10:21:08 +0200 Subject: [PATCH] fix scripts/get runAsRoot CMD var building Avoid using $* multiple times --- scripts/get | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get b/scripts/get index f3b0810d6..012b99013 100755 --- a/scripts/get +++ b/scripts/get @@ -51,7 +51,7 @@ runAsRoot() { local CMD="$*" if ! whoami | egrep -q '^root$'; then - CMD="sudo $*" + CMD="sudo $CMD" fi $CMD