Skip to content

Commit

Permalink
pentoo-updater: quiet down
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroChaos- committed Dec 25, 2023
1 parent f94209d commit a5f8cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pentoo-updater.sh
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ main_upgrades() {

mount_boot() {
#so since portage is no longer allowed to mount /boot, we need to do it
if grep '/boot' /etc/fstab && ! mountpoint /boot ; then
if grep -q '/boot' /etc/fstab && ! mountpoint /boot > /dev/null 2>&1 ; then
#pretty much going to trust fstab and ignore failures here
mount /boot
fi
Expand Down

0 comments on commit a5f8cae

Please sign in to comment.