Skip to content

Commit

Permalink
ctbcap: optimize logic of link mode
Browse files Browse the repository at this point in the history
  • Loading branch information
KFERMercer committed Jan 2, 2025
1 parent 10e75d9 commit 17b9cb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ctbcap
Original file line number Diff line number Diff line change
Expand Up @@ -569,9 +569,9 @@ watchdog() {

[ "${DEBUG_MODE}" = "1" ] && set -x # Debug Mode

if [ "${LINK_MODE}" = "1" ]; then
[ "${LINK_MODE}" = "1" ] && {
fetch_m3u && { echo; exit 0; } || { echo >&2; exit 1; }
fi
}

init_dir "${SAVE_PATH}" "${LOG_PATH}" || { echo >&2; exit 1; }

Expand Down

0 comments on commit 17b9cb7

Please sign in to comment.