This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch main
in repository equivoke.
View the commit online.
commit 4780bb4490262dd9fbae19ae40b15f66de500007
Author: Philippe Jean Guillaumie <bat...@sfr.fr>
AuthorDate: Sun Jun 22 14:00:20 2025 +0200
Minor change
---
equivoke.sh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/equivoke.sh b/equivoke.sh
index 6fffd66..a8fdda4 100644
--- a/equivoke.sh
+++ b/equivoke.sh
@@ -99,8 +99,7 @@ menu_slct() {
# Check free disk space.
disk_spc() {
- free_space=$(df -BG "$HOME" | awk 'NR==2 {print $4}' | sed 's/G//')
-
+ free_space=$(df -BG --output=avail "$HOME" | tail -1 | tr -d ' G')
if [ "$free_space" -lt 3 ]; then
err_msg "INSUFFICIENT DISK SPACE. AT LEAST 3 GB REQUIRED. SCRIPT ABORTED."
exit 1
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.