diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-05-12 09:02:52 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-05-12 09:02:52 +0200 |
| commit | 421cc62951db8445f830b2d220880e0b681a408c (patch) | |
| tree | 70f8af40f4dba607c243d1740ac4a5487c5c2f47 /scripts | |
| parent | 2ad7375ba74afb34df3fdcc99dc0e5f8666af3d5 (diff) | |
| download | config-421cc62951db8445f830b2d220880e0b681a408c.tar.gz config-421cc62951db8445f830b2d220880e0b681a408c.zip | |
Fix error message
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/status-linux | 2 |
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 |
| 38 | network="$(iwctl station wlan0 show | grep 'Connected network' | \ | 38 | network="$(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/^ .//')" |
| 40 | if [ "$(cat /sys/class/net/eth0/carrier)" = 1 ]; then | 40 | if [ "$(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 |
