Reword the output.
This commit is contained in:
@@ -33,7 +33,7 @@ git_status="$?"
|
|||||||
echo "$output" | grep -v "up to date"
|
echo "$output" | grep -v "up to date"
|
||||||
grep_status="$?"
|
grep_status="$?"
|
||||||
|
|
||||||
log "Pull status is '$git_status', anything but 'up to date' is '$grep_status'."
|
log "Pull status is '$git_status', checking for changes is '$grep_status'."
|
||||||
|
|
||||||
if [[ $git_status != 0 ]]; then
|
if [[ $git_status != 0 ]]; then
|
||||||
log "*** ERROR: Git reported a failure! ***"
|
log "*** ERROR: Git reported a failure! ***"
|
||||||
|
Reference in New Issue
Block a user