summaryrefslogtreecommitdiffstats
path: root/ship/lib/network
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2013-11-14 10:40:32 +0100
committertv <tv@nomic.retiolum>2013-11-14 10:40:32 +0100
commit168f5927f4a7b69b23f7d90e5a2dd36c6fe78a01 (patch)
tree8107720e7fcf2e43f68ee8e08fae4e419f9c8a01 /ship/lib/network
parentb536f99e6f1790df174879cc82045d71db42a099 (diff)
ship: move all "bailing out" msgs to die
Diffstat (limited to 'ship/lib/network')
-rw-r--r--ship/lib/network3
1 files changed, 1 insertions, 2 deletions
diff --git a/ship/lib/network b/ship/lib/network
index 74edcbac..e1a9a31e 100644
--- a/ship/lib/network
+++ b/ship/lib/network
@@ -57,8 +57,7 @@ which_telnet(){
elif exists busybox;then
echo `command -v busybox` telnet
else
- error "Cannot find telnet binary, please install either telnet-client or busybox or netcat or provided TELNET environment.\nbailing out!"
- return 1
+ die 'Cannot find telnet binary, please install either telnet-client or busybox or netcat or provided TELNET environment.'
fi
}