add debug message

This commit is contained in:
neilpang 2017-06-15 21:44:10 +08:00
parent a79e96802f
commit 326c386b2e

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