From 261bf96e38117fdce94c0d1d2cf9cabe4e8b3cf3 Mon Sep 17 00:00:00 2001 From: wingyou Date: Mon, 25 Mar 2024 04:33:28 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20shutdown.sh=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- JWT/deploy/shutdown.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 JWT/deploy/shutdown.sh diff --git a/JWT/deploy/shutdown.sh b/JWT/deploy/shutdown.sh old mode 100644 new mode 100755 index 98335a8..e32c7a5 --- a/JWT/deploy/shutdown.sh +++ b/JWT/deploy/shutdown.sh @@ -1,6 +1,6 @@ #!/bin/bash pid=$(sudo lsof -t -i :8080) -if [ -n pid ]; then - kill $(sudo lsof -t -i :8080) +if [ -n "$pid" ]; then + kill $pid fi