summaryrefslogtreecommitdiffstats
path: root/src/lib/connections/ethernet
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2014-02-25 14:50:28 +0100
committerJouke Witteveen <j.witteveen@gmail.com>2014-02-25 15:21:03 +0100
commit33c6ca7f01a36551ca436a96aafd1bf639bcea2f (patch)
treeaff712316fda54b67eed9dadd98cfd74da3f3f49 /src/lib/connections/ethernet
parent3dc6d75f5fa4813fe5c998b13582912fffd88159 (diff)
downloadnetctl-33c6ca7f01a36551ca436a96aafd1bf639bcea2f.tar.gz
netctl-33c6ca7f01a36551ca436a96aafd1bf639bcea2f.tar.xz
Code style and output improvements
Now a bit more verbose when useful.
Diffstat (limited to 'src/lib/connections/ethernet')
-rw-r--r--src/lib/connections/ethernet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/connections/ethernet b/src/lib/connections/ethernet
index dfd0117..3db69a0 100644
--- a/src/lib/connections/ethernet
+++ b/src/lib/connections/ethernet
@@ -22,7 +22,7 @@ ethernet_up() {
if ! is_yes "${SkipNoCarrier:-no}"; then
# Some cards are plain slow to come up. Don't fail immediately.
if ! timeout_wait "${TimeoutCarrier:-5}" '(( $(< "/sys/class/net/$Interface/carrier") ))'; then
- report_error "No connection on interface '$Interface'"
+ report_error "No connection found on interface '$Interface' (timeout)"
bring_interface_down "$Interface"
return 1
fi