From c48ad38c7a1323a88dd3be1fe8016f98dea8b0b2 Mon Sep 17 00:00:00 2001 From: yuanfuyuan <1406957364@qq.com> Date: Sun, 5 Mar 2023 17:52:44 +0800 Subject: [PATCH] remove the used blank lines --- bin/docker-image-tool.sh | 1 - bin/kyuubi | 1 - bin/kyuubi-logo | 3 --- bin/stop-application.sh | 1 - 4 files changed, 6 deletions(-) diff --git a/bin/docker-image-tool.sh b/bin/docker-image-tool.sh index c9a90cf5782..509da0afb24 100755 --- a/bin/docker-image-tool.sh +++ b/bin/docker-image-tool.sh @@ -227,7 +227,6 @@ Examples: EOF } - if [[ "$*" = *--help ]] || [[ "$*" = *-h ]]; then usage exit 0 diff --git a/bin/kyuubi b/bin/kyuubi index b4e0ca37c83..3ebfad46fb7 100755 --- a/bin/kyuubi +++ b/bin/kyuubi @@ -30,7 +30,6 @@ function usage() { echo " -h | --help - Show this help message" } - if [[ "$*" = *--help ]] || [[ "$*" = *-h ]]; then usage exit 0 diff --git a/bin/kyuubi-logo b/bin/kyuubi-logo index b59a12d8853..1f95ca02e52 100755 --- a/bin/kyuubi-logo +++ b/bin/kyuubi-logo @@ -15,17 +15,14 @@ # See the License for the specific language governing permissions and # limitations under the License. # - # Bugzilla 37848: When no TTY is available, don't output to console have_tty=0 - if [[ "$(tty)" != "not a tty" ]]; then have_tty=1 fi # Bugzilla 37848: When no TTY is available, don't output to console have_tty=0 - if [[ "$(tty)" != "not a tty" ]]; then have_tty=1 fi diff --git a/bin/stop-application.sh b/bin/stop-application.sh index c11815db63a..000eb4cdd7c 100755 --- a/bin/stop-application.sh +++ b/bin/stop-application.sh @@ -16,7 +16,6 @@ # limitations under the License. # - if [[ $# -lt 1 ]] ; then echo "USAGE: $0 " exit 1