[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
1 changed files with 3 additions and 2 deletions

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
else
msg "Found changes to commit in $DIR"
true
fi
msg "Found changes to commit in $DIR"
true
}
should_push() {