From 7833c20aae887652e8b4a1a072682ed7ae48f53c Mon Sep 17 00:00:00 2001 From: Ryan Loudfoot Date: Fri, 21 Feb 2014 20:27:50 -0500 Subject: [PATCH] I need to test more. Re-added variable for whois command. It's a variable in case we want to do something with it later, such as options for whois host. --- check_domain | 2 ++ 1 file changed, 2 insertions(+) diff --git a/check_domain b/check_domain index 9cbb136..9a9dc95 100755 --- a/check_domain +++ b/check_domain @@ -118,6 +118,8 @@ else whois="$whoispath/whois" fi +out=$("$whois" "$domain") + # Calculate days until expiration case "$domain" in *.com)