From 8d160331ba604de7240a5a5381ff5a747b1d716a Mon Sep 17 00:00:00 2001 From: Marcus Date: Sun, 7 Jan 2024 00:11:30 +0100 Subject: [PATCH] typo --- pixelfloot.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pixelfloot.sh b/pixelfloot.sh index b754640..4ab257f 100755 --- a/pixelfloot.sh +++ b/pixelfloot.sh @@ -382,14 +382,14 @@ flootworker() else echo "${LOL[$1]}" fi - done > /dev/tcp/$IPFLOOT/$FLOOTPORT || message warn "[worker ${YELLOW}$iFLOOTWORKER${ENDCOLOR}] transmission ${RED}failed${ENDCOLOR} - maybe you need to decrease ${YELLOW}FLOOTFORKS${ENDCOLOR} or expand/tune your uplink" + done > /dev/tcp/$IPFLOOT/$FLOOTPORT || message warn "[worker ${YELLOW}${iFLOOTWORKER}${ENDCOLOR}] transmission ${RED}failed${ENDCOLOR} - maybe you need to decrease ${YELLOW}FLOOTFORKS${ENDCOLOR} or expand/tune your uplink" } checkfile() { - if [ ! -f $1 ] || [ -z $1 ] + if [ ! -f $1 ] || [ -z $1 ] || [ -d $1 ] then - message error "file ${YELLOW}$1${ENDCOLOR} does not exist." + message error "file ${YELLOW}$1${ENDCOLOR} is not a valid file or does not exist." exit 1 fi