This commit is contained in:
t3chn0m4g3 2022-02-07 17:07:17 +00:00
parent c27c13d617
commit e741f97f9a

View file

@ -29,7 +29,7 @@ fi
function fuGETTPOT_STATUS { function fuGETTPOT_STATUS {
# T-Pot Status # T-Pot Status
myTPOT_STATUS=$(systemctl status tpot | grep "Active" | awk '{ print $2 }') myTPOT_STATUS=$(systemctl status tpot | grep "Active" | awk '{ print $2 }')
if [ "$myTPOT_STATUS" == "Active" ]; if [ "$myTPOT_STATUS" == "active" ];
then then
echo "${myGREEN}ACTIVE" echo "${myGREEN}ACTIVE"
else else