From 21ede303e64f5c7dc926efe7da23cd635c4f375d Mon Sep 17 00:00:00 2001 From: Christian Rößler Date: Thu, 12 Sep 2013 14:09:56 +0200 Subject: [clone_stage4] Just a little check for 'local' as IP. --- scripts/clone_stage4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/clone_stage4 b/scripts/clone_stage4 index e24fd416..2704db02 100755 --- a/scripts/clone_stage4 +++ b/scripts/clone_stage4 @@ -18,7 +18,8 @@ qnd_exit() { [ $# -ge 1 ] && kill "$1" } -[ $# -lt 3 ] && perror "$0 " +[ $# -lt 3 ] && perror "$0 " +[ "$1" = "local" ] && perror 'It is not wise to use "local" as remote IP.' BASE_DIR="${ROOT_DIR}/server/local_builds/$1" BOOT_DIR="${ROOT_DIR}/server/boot/$1" -- cgit v1.2.3-55-g7522