gui: Trivial code cleanup.

This commit is contained in:
tgoff0 2015-01-21 21:38:32 +00:00
parent e5159ad9d8
commit 42227bce83

View file

@ -107,8 +107,7 @@ proc checkRJ45s {} {
global systype node_list g_prefs
if { [lindex $systype 0] == "Linux" } {
if { [file exists /sys/class/net] &&
[file isdirectory /sys/class/net] } {
if { [file isdirectory /sys/class/net] } {
set extifcs [nexec localnode ls /sys/class/net]
} else {
set extifcs [nexec localnode /sbin/ifconfig -a -s | tail -n +2 | awk "{ print \$1 }" | xargs]