aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--post-recieve1
1 files changed, 1 insertions, 0 deletions
diff --git a/post-recieve b/post-recieve
index 3431765..ce604a0 100644
--- a/post-recieve
+++ b/post-recieve
@@ -10,6 +10,7 @@ KNOT_FILE="$REPO_PATH/knot.conf"
LOGFILE="/var/log/knot-sync.log" #log our syncing isssues
if [ ! -f "$KNOT_FILE" ]; then
+ echo "[$(date)] $REPO_PATH: knot.conf not found, skipping", >> "$LOGFILE"
exit 0
fi
REPO_URL=$(cat "$KNOT_FILE" | tr -d '\n' | xargs)