From 571afc1b5d92b9b02f48ff589b9e0b638a986724 Mon Sep 17 00:00:00 2001 From: Alex Povel Date: Mon, 29 Mar 2021 16:46:45 +0200 Subject: [PATCH] Use unused variable --- tinystatus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinystatus b/tinystatus index dbd0fad..df047f4 100755 --- a/tinystatus +++ b/tinystatus @@ -59,7 +59,7 @@ while IFS='\n' read -r line; do name="$(get_element 3 "${line}")" host="$(get_element 4 "${line}")" check "${ctype}" "${host}" "${name}" "${code}" & -done < "${1:-checks.list}" +done < "${1:-$checkfile}" wait cat << EOF