[omd-commits] OMD Git: omd: made APACHE_TCP_PORT.hook print error messages when it cant access /omd/ sites/*
git version control
git at mathias-kettner.de
Mon Dec 15 17:00:31 CET 2014
Module: omd
Branch: master
Commit: 849900da4ee86e5ade77bf9febdef60d12c9d373
URL: http://omdistro.org/projects/omd/repository/revisions/849900da4ee86e5ade77bf9febdef60d12c9d373
Author: Goetz Golla <gg at mathias-kettner.de>
Date: Mon Dec 15 16:59:44 2014 +0100
Commiter: Goetz Golla <gg at mathias-kettner.de>
Date: Mon Dec 15 16:59:44 2014 +0100
made APACHE_TCP_PORT.hook print error messages when it cant access /omd/sites/*
---
packages/apache-omd/APACHE_TCP_PORT.hook | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/apache-omd/APACHE_TCP_PORT.hook b/packages/apache-omd/APACHE_TCP_PORT.hook
index 5c072fc..d02e965 100755
--- a/packages/apache-omd/APACHE_TCP_PORT.hook
+++ b/packages/apache-omd/APACHE_TCP_PORT.hook
@@ -21,7 +21,7 @@ fi
port_is_used ()
{
local PORT=$1
- ls /omd/sites/*/etc/omd/site.conf >/dev/null 2>&1 || return 1
+ ls /omd/sites/* >/dev/null || return 1
for conf in /omd/sites/*/etc/omd/site.conf
do
[ $conf != /omd/sites/$OMD_SITE/etc/omd/site.conf ] || continue
More information about the omd-commits
mailing list