summaryrefslogtreecommitdiff
path: root/scripts/status-linux
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2026-05-12 09:02:52 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2026-05-12 09:02:52 +0200
commit421cc62951db8445f830b2d220880e0b681a408c (patch)
tree70f8af40f4dba607c243d1740ac4a5487c5c2f47 /scripts/status-linux
parent2ad7375ba74afb34df3fdcc99dc0e5f8666af3d5 (diff)
downloadconfig-421cc62951db8445f830b2d220880e0b681a408c.tar.gz
config-421cc62951db8445f830b2d220880e0b681a408c.zip
Fix error message
Diffstat (limited to 'scripts/status-linux')
-rwxr-xr-xscripts/status-linux2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/status-linux b/scripts/status-linux
index 6d107d0..a88649c 100755
--- a/scripts/status-linux
+++ b/scripts/status-linux
@@ -37,7 +37,7 @@ fi
37# Thank you iwctl for saving us from this dreadful existence 37# Thank you iwctl for saving us from this dreadful existence
38network="$(iwctl station wlan0 show | grep 'Connected network' | \ 38network="$(iwctl station wlan0 show | grep 'Connected network' | \
39 awk '{$1=$2=""; $0=$0; print}' | sed 's/^ .//')" 39 awk '{$1=$2=""; $0=$0; print}' | sed 's/^ .//')"
40if [ "$(cat /sys/class/net/eth0/carrier)" = 1 ]; then 40if [ "$(cat /sys/class/net/eth0/carrier 2>/dev/null)" = 1 ]; then
41 if [ -z "$network" ]; then 41 if [ -z "$network" ]; then
42 network="eth" 42 network="eth"
43 else 43 else

Generated with cgit - Back to sebastiano.tronto.net