diff options
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 |
