From e68544637a4c16be041535f302a616310fec6757 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=EF=BF=BD=EF=BF=BD?= Date: Fri, 21 Nov 2014 17:18:25 +0000 Subject: [PATCH] make sure we address the VHOST_DIR directory, it may be a symlink --- src/update_domains.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/update_domains.sh b/src/update_domains.sh index 89df3bc6..8d46a132 100755 --- a/src/update_domains.sh +++ b/src/update_domains.sh @@ -132,7 +132,7 @@ if [ ! -z "$(cat "$RELOAD_WEB")" ] ; then else echo "Include \"$LOGFORMAT_FILE\"" fi - find "$VHOST_DIR" -mindepth 2 -type f -iname "*.conf" -print0 | xargs -0 cat + find "$VHOST_DIR/" -mindepth 2 -type f -iname "*.conf" -print0 | xargs -0 cat echo "###END OF ALTERNC AUTO-GENERATED FILE - DO NOT EDIT MANUALLY###" ) > "$tempo"