diff --git a/yt-dlp-ntfy.sh b/yt-dlp-ntfy.sh index e10008b..40e9393 100755 --- a/yt-dlp-ntfy.sh +++ b/yt-dlp-ntfy.sh @@ -6,7 +6,7 @@ PID_FILE="/tmp/yt-dlp-ntfy.pid" # Check if the script is already running if [ -e "$PID_FILE" ] && kill -0 $(cat "$PID_FILE") &>/dev/null; then - echo "Script is already running. Exiting." + echo "Script is already running as PID $(cat $PID_FILE). Exiting." exit 1 fi