add debug message

This commit is contained in:
neilpang 2017-06-15 21:44:10 +08:00
parent a79e96802f
commit 326c386b2e
1 changed files with 7 additions and 0 deletions

View File

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