projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95a3d7a
)
Don't fail if interface is still visible.
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 8 Feb 2011 00:21:31 +0000
(16:21 -0800)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 8 Feb 2011 00:21:31 +0000
(16:21 -0800)
http://sourceforge.net/tracker/?func=detail&atid=117457&aid=
3164666
&group_id=17457
net/linux-lib.pl
patch
|
blob
|
history
diff --git
a/net/linux-lib.pl
b/net/linux-lib.pl
index
e555cf8
..
61bd852
100755
(executable)
--- a/
net/linux-lib.pl
+++ b/
net/linux-lib.pl
@@
-144,7
+144,7
@@
if ($still) {
}
local ($still) = grep { $_->{'fullname'} eq $name }
&active_interfaces();
- if ($still) {
+ if ($still
&& $still->{'up'}
) {
&error($out ? "<pre>$out</pre>"
: "Interface is still active even after being ".
"shut down");