Fix line 59

This commit is contained in:
2026-07-23 19:32:26 +01:00
parent 9c0bd16d12
commit 7e5e769c8f
+1 -1
View File
@@ -56,7 +56,7 @@ check_for_updates() {
# Get the last known commit hash (from a file) # Get the last known commit hash (from a file)
cd "$GITMONITOR cd "$GITMONITOR
_LOCAL_PATH/$repo_name" $GITMONITOR_LOCAL_PATH/$repo_name"
if [ -f "$GITMONITOR_LOCAL_PATH/$repo_name/.git-monitor-last-commit" ]; then if [ -f "$GITMONITOR_LOCAL_PATH/$repo_name/.git-monitor-last-commit" ]; then
last_commit_hash=$(cat "$GITMONITOR_LOCAL_PATH/$repo_name/.git-monitor-last-commit") last_commit_hash=$(cat "$GITMONITOR_LOCAL_PATH/$repo_name/.git-monitor-last-commit")
else else