Skip to content

Commit

Permalink
fixed the ESP sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrudolfoba authored May 24, 2024
1 parent 0f36e80 commit a605ab0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install-Clover.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ else
exit
fi

ESP=$(df | grep -i temp-ESP | tr -s ' ' | cut -d " " -f 4)
ESP=$(df /dev/nvme0n1p1 --output=avail | tail -n1)
if [ $ESP -ge 30000 ]
then
echo ESP partition has $ESP KB free space.
Expand Down
2 changes: 1 addition & 1 deletion install-clover.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ else
exit
fi

ESP=$(df | grep -i temp-ESP | tr -s ' ' | cut -d " " -f 4)
ESP=$(df /dev/nvme0n1p1 --output=avail | tail -n1)
if [ $ESP -ge 30000 ]
then
echo ESP partition has $ESP KB free space.
Expand Down

0 comments on commit a605ab0

Please sign in to comment.