From d0be8f8931784c80e2be98814fae147263bf8a07 Mon Sep 17 00:00:00 2001 From: Jarell <91372088+jarelllama@users.noreply.github.com> Date: Mon, 1 Apr 2024 15:20:47 +0800 Subject: [PATCH] Update --- functions/check_dead.sh | 3 ++- functions/check_parked.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/functions/check_dead.sh b/functions/check_dead.sh index 92b657108..d6d6adb2b 100644 --- a/functions/check_dead.sh +++ b/functions/check_dead.sh @@ -141,7 +141,8 @@ check_alive() { # Input: # $1: file to process # Output: -# dead.tmp (if dead domains found) +# dead.tmp +# exit status 0 (if dead domains found) # exit status 1 (if dead domains not found) find_dead() { sed 's/^/||/; s/$/^/' "$1" > formatted_domains.tmp diff --git a/functions/check_parked.sh b/functions/check_parked.sh index 4fce840f2..b626a8a6c 100644 --- a/functions/check_parked.sh +++ b/functions/check_parked.sh @@ -61,7 +61,8 @@ add_unparked_domains() { # Input: # $1: file to process # Output: -# parked_domains.tmp (if parked domains found) +# parked_domains.tmp +# exit status 0 (if parked domains found) # exit status 1 (if parked domains not found) retrieve_parked() { # Truncate temporary files between runs