From f44b9dfb00da21e8453c304621b556e5852ab106 Mon Sep 17 00:00:00 2001 From: DamonXue Date: Thu, 14 Mar 2024 11:18:03 +0800 Subject: [PATCH] redundant deduplication (#3611) redundant deduplication --- .../src/main/assembly/bin/streampark.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/streampark-console/streampark-console-service/src/main/assembly/bin/streampark.sh b/streampark-console/streampark-console-service/src/main/assembly/bin/streampark.sh index a36e34728c..5791ec3338 100755 --- a/streampark-console/streampark-console-service/src/main/assembly/bin/streampark.sh +++ b/streampark-console/streampark-console-service/src/main/assembly/bin/streampark.sh @@ -35,13 +35,6 @@ # used # ----------------------------------------------------------------------------- -# Bugzilla 37848: When no TTY is available, don't output to console -have_tty=0 -# shellcheck disable=SC2006 -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 # shellcheck disable=SC2006