Commit c18d1024 authored by Axel ROGER's avatar Axel ROGER

Don't log "manual launch of update_domain" if we don't do it...

parent 0a5856e4
......@@ -4,7 +4,11 @@
. /etc/alternc/local.sh
test -x /usr/bin/logger && /usr/bin/logger -t ALTERNC Panel manual launch update_domain
test -e "$INOTIFY_UPDATE_DOMAIN" && /usr/lib/alternc/update_domains.sh
LOGGER="/usr/bin/logger"
if [ -e "$INOTIFY_UPDATE_DOMAIN" ] ; then
if [ -x "$LOGGER" ] ; then
$LOGGER -t ALTERNC Panel manual launch update_domain
fi
/usr/lib/alternc/update_domains.sh
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment