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
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