commit af8e406644206f3ba430b39faee604998f890afb
Author: Elan Ruusamäe <[email protected]>
Date: Fri Nov 8 21:48:27 2013 +0200
test: take domain from commandline too
test.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/test.sh b/test.sh
index f2d9c84..734c153 100755
--- a/test.sh
+++ b/test.sh
@@ -21,6 +21,6 @@ dk-hostmaster.dk
bbk.ac.uk
"
-for domain in $domains; do
+for domain in ${*:-$domains}; do
sh -$- ./check_domain.sh -d $domain
done
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugin-check_domain.git/commitdiff/af8e406644206f3ba430b39faee604998f890afb
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit