Skip to content

Commit 175f4ef

Browse files
authored
Updated the exit warning
Updated exit warning for --force CLI argument when no path was found
1 parent 0551441 commit 175f4ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fail2ban.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ if [ ! -f $F2B ]; then
9797
exit 0
9898
fi
9999
else
100-
printf "\nFile path incorrect. Forcing end!"
100+
printf "\n${COL_YLW}###########\n# ${COL_RED}WARNING ${COL_YLW}#\n###########\n\n${COL_RST}"
101+
printf "File path incorrect. Forcing end!\n"
101102
exit 0
102103
fi
103104
else

0 commit comments

Comments
 (0)