1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-06 08:27:57 +00:00

chore: auto format code

This commit is contained in:
Tw93
2025-12-17 03:57:08 +00:00
parent a667a1a777
commit 694f5e76db
3 changed files with 4 additions and 6 deletions

4
mole
View File

@@ -196,7 +196,7 @@ show_version() {
local sip_status
if command -v csrutil > /dev/null; then
sip_status=$(csrutil status 2>/dev/null | grep -o "enabled\|disabled" || echo "Unknown")
sip_status=$(csrutil status 2> /dev/null | grep -o "enabled\|disabled" || echo "Unknown")
# Capitalize first letter
sip_status="$(tr '[:lower:]' '[:upper:]' <<< ${sip_status:0:1})${sip_status:1}"
else
@@ -204,7 +204,7 @@ show_version() {
fi
local disk_free
disk_free=$(df -h / 2>/dev/null | awk 'NR==2 {print $4}' || echo "Unknown")
disk_free=$(df -h / 2> /dev/null | awk 'NR==2 {print $4}' || echo "Unknown")
local install_method="Manual"
if is_homebrew_install; then