summaryrefslogtreecommitdiffstats
path: root/ship/lib/network
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-11-19 08:35:51 +0100
committermakefu <github@syntax-fehler.de>2013-11-19 08:35:51 +0100
commit5788b95fe7834d3049df9de1009f3d8dbc34fea2 (patch)
tree76675a9579c7c5e269825bfa73d29fe5256b8afb /ship/lib/network
parentc15a8d15e910a39a641b21df08e13325a0e29293 (diff)
parent6f956cfe65ee00871bc9be19b2acadabb6638a69 (diff)
Merge branch 'master' of github.com:krebscode/painload
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
}