Revert "mpbb: Temporarily ignore selfupdate errors"

This reverts commit b405fee11b.
This commit is contained in:
Joshua Root
2022-10-31 09:49:30 +11:00
parent ce6d7c1532
commit 229329a983
+2 -2
View File
@@ -53,7 +53,7 @@ selfupdate() {
# selfupdate at most once every 24 hours
if [[ ! -f selfupdate.timestamp || $(($(date +%s) - $(stat -f %m selfupdate.timestamp))) -gt 86400 ]]; then
"${option_prefix}/bin/port" -d selfupdate --no-sync && touch selfupdate.timestamp
"${option_prefix}/bin/port" -d selfupdate --no-sync || return
touch selfupdate.timestamp
fi
return 0
}