From 42227bce83126f60db24f9afe48bc63b6df78dae Mon Sep 17 00:00:00 2001 From: tgoff0 Date: Wed, 21 Jan 2015 21:38:32 +0000 Subject: [PATCH] gui: Trivial code cleanup. --- gui/exec.tcl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gui/exec.tcl b/gui/exec.tcl index b08cb1cf..1e5eec76 100644 --- a/gui/exec.tcl +++ b/gui/exec.tcl @@ -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]