Skip to content

Commit e0e9fce

Browse files
Bug Fix/Code Cleanup
Making it an optional parameter instead
1 parent 1706ad2 commit e0e9fce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

MerlinAU.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5953,8 +5953,9 @@ _Calculate_NextRunTime_()
59535953
local fwNewUpdateVersion fwNewUpdateNotificationDate
59545954
local upfwDateTimeSecs nextCronTimeSecs
59555955

5956-
if [ "$1" = "recal" ]
5957-
then force_recalc=true
5956+
if [ $# -eq 1 ] && [ "$1" = "recal" ]
5957+
then
5958+
force_recalc=true
59585959
fi
59595960

59605961
# Check for available firmware update

0 commit comments

Comments
 (0)