Skip to content

Commit

Permalink
Merge pull request #81 from Ursadon/master
Browse files Browse the repository at this point in the history
fixed LoadAverage check (Thanks to Ursadon)
  • Loading branch information
serghey-rodin committed Sep 11, 2013
2 parents c9e8129 + f18540a commit d565910
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/v-backup-user
Expand Up @@ -73,6 +73,7 @@ while [ "$la" -ge "$BACKUP_LA_LIMIT" ]; do
log_event "$E_LA" "$EVENT"
exit $E_LA
fi
la=$(cat /proc/loadavg | cut -f 1 -d ' ' | cut -f 1 -d '.')
(( ++i))
done

Expand Down

0 comments on commit d565910

Please sign in to comment.