Skip to content

Commit

Permalink
Fix never-ending loop when not using kde (#243)
Browse files Browse the repository at this point in the history
When not using KDE the journal got spammed with log messages. Seems like
the exit-condition for the retry loop was not set.
  • Loading branch information
jsol authored Jan 31, 2023
1 parent bb5081a commit 3640851
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/appimaged/udisks.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ retry:
} else {
log.Println("org.kde.Solid.PowerManagement might not be started yet. Waiting a moment then retrying")
time.Sleep(500 * time.Millisecond)
retried = true
goto retry
}
} else {
Expand Down

0 comments on commit 3640851

Please sign in to comment.