[services] Fix note-sync services pushing

Fixed conditional to not always reset push timer, even if no changes
were made.
This commit is contained in:
Marty Oehme 2020-06-08 22:33:12 +02:00
parent 98377fdf00
commit 589211ed3a
No known key found for this signature in database
GPG key ID: 0CCB0526EFB9611A

View file

@ -31,9 +31,10 @@ should_commit() {
if [ "$(run_git status --porcelain | wc -l)" -eq 0 ]; then
msg "No changes to commit in $DIR"
false
fi
else
msg "Found changes to commit in $DIR"
true
fi
}
should_push() {