Skip to content

Commit

Permalink
Fix if issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rykcod authored Jan 26, 2024
1 parent 5aeec61 commit 6a9abc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ BuyOrSellRoll() {
# Check if RESCUE_MAS_AMOUNT is set into config.ini or set it to 0
if [ ! -v RESCUE_MAS_AMOUNT ]; then RESCUE_MAS_AMOUNT=0 ; fi
# Check if day log file already exist or create it
if [ ! -e $PATH_LOGS_MASSAGUARD/$(date +%Y%m%d)-massa_guard.txt ] ;
if [ ! -e $PATH_LOGS_MASSAGUARD/$(date +%Y%m%d)-massa_guard.txt ]
then
# Create log file of the day
touch $PATH_LOGS_MASSAGUARD/$(date +%Y%m%d)-massa_guard.txt
Expand Down

0 comments on commit 6a9abc3

Please sign in to comment.