From fccdd5c313d28f29e6ec2705a929d695eb2877b4 Mon Sep 17 00:00:00 2001 From: hengyunabc Date: Mon, 29 Mar 2021 17:31:48 +0800 Subject: [PATCH] clean code --- bin/as.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/as.sh b/bin/as.sh index 151104864..fb1f59b81 100755 --- a/bin/as.sh +++ b/bin/as.sh @@ -159,9 +159,6 @@ BATCH_MODE=false # define arthas's temp dir TMP_DIR=/tmp -# last update arthas version -ARTHAS_VERSION= - # arthas remote url # https://arthas.aliyun.com/download/3.1.7?mirror=aliyun REMOTE_DOWNLOAD_URL="https://arthas.aliyun.com/download/PLACEHOLDER_VERSION?mirror=PLACEHOLDER_REPO" @@ -831,7 +828,7 @@ attach_jvm() tempArgs+=("${USERNAME}") fi - if [ "${PASSWORD}" ]; then + if [ "${PASSWORD}" ]; then tempArgs+=("-password") tempArgs+=("${PASSWORD}") fi