Browse Source

initialized local variables with values

bmallred 10 years ago
parent
commit
7f7c0dccdc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      i3status-update-network

+ 2 - 2
i3status-update-network

@ -2,8 +2,8 @@
2 2
3 3
# Declare some variables
4 4
local config=$HOME'/.config/i3status/config'
5
local ethernet=''
6
local wireless=''
5
local ethernet='none'
6
local wireless='none'
7 7
8 8
# Find devices
9 9
for dev in $(ls /sys/class/net); do