From 82d4afaabc61ad0126aa23025bbc221751df366a Mon Sep 17 00:00:00 2001 From: sunerpy Date: Fri, 25 Mar 2022 10:23:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ezdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ezdown b/ezdown index bee93db..ff6cd15 100755 --- a/ezdown +++ b/ezdown @@ -393,7 +393,7 @@ function main() { BASE="/etc/kubeasz" # check if use bash shell - readlink /proc/$$/exe|grep -q "dash" && { logger error "you should use bash shell, not sh"; exit 1; } + readlink /proc/$$/exe|grep -q "bash" || { logger error "you should use bash shell, not sh"; exit 1; } # check if use with root [[ "$EUID" -ne 0 ]] && { logger error "you should run this script as root"; exit 1; }