From 29f926a68c9e824db9dd9fbe6fdf7f68090b7afa Mon Sep 17 00:00:00 2001 From: kayos Date: Sun, 18 Oct 2020 23:08:02 +0000 Subject: [PATCH] Update 'lol.sh' i don't wanna talk about it --- lol.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lol.sh b/lol.sh index d138324..3cd8407 100644 --- a/lol.sh +++ b/lol.sh @@ -21,8 +21,10 @@ do find /tmp/ -iname "*.prt" -exec rm {} \; # ---> ratchet destination ports when socat times out, reset once it counts to $ENDPORT - if [[ $PORT != $MAXPORT ]] then - PORT=$((PORT+1)) else + if [[ $PORT != $MAXPORT ]] + then + PORT=$((PORT+1)) + else PORT=$STARTPORT fi