Skip to content

Commit

Permalink
fix: shutdown.sh 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
wwingyou committed Mar 24, 2024
1 parent 315ab7a commit 261bf96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JWT/deploy/shutdown.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 261bf96

Please sign in to comment.