Merge pull request #879 from Neilpang/dev

add debug message
This commit is contained in:
neil 2017-06-15 22:25:18 +08:00 committed by GitHub
commit d2f0178fab

View File

@ -151,6 +151,13 @@ _dlg_versions() {
echo "apache doesn't exists." echo "apache doesn't exists."
fi fi
echo "nginx:"
if _exists "nginx"; then
nginx -V 2>&1
else
echo "nginx doesn't exists."
fi
echo "nc:" echo "nc:"
if _exists "nc"; then if _exists "nc"; then
nc -h 2>&1 nc -h 2>&1