Skip to content

Commit

Permalink
schedule: null[check]false[collect][begin]true[end]null
Browse files Browse the repository at this point in the history
  • Loading branch information
hg42 committed Dec 12, 2024
1 parent 4cd0be4 commit b813bad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/machiav3lli/backup/tasks/ScheduleWork.kt
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class ScheduleWork(
return@withContext Result.failure()
}

if (runningSchedules[scheduleId] == true) {
if (runningSchedules[scheduleId] != null) {
val message =
"[$scheduleId] duplicate schedule detected: $name (as designed, ignored)"
Timber.w(message)
Expand Down

0 comments on commit b813bad

Please sign in to comment.