diff options
Diffstat (limited to 'Assistant/Threads/DaemonStatus.hs')
-rw-r--r-- | Assistant/Threads/DaemonStatus.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Assistant/Threads/DaemonStatus.hs b/Assistant/Threads/DaemonStatus.hs index 946bf1b05..07f0986a6 100644 --- a/Assistant/Threads/DaemonStatus.hs +++ b/Assistant/Threads/DaemonStatus.hs @@ -18,7 +18,7 @@ import Utility.NotificationBroadcaster daemonStatusThread :: NamedThread daemonStatusThread = NamedThread "DaemonStatus" $ do notifier <- liftIO . newNotificationHandle - =<< changeNotifier <$> daemonStatus + =<< changeNotifier <$> getDaemonStatus checkpoint runEvery (Seconds tenMinutes) <~> do liftIO $ waitNotification notifier @@ -26,4 +26,4 @@ daemonStatusThread = NamedThread "DaemonStatus" $ do where checkpoint = do file <- liftAnnex $ fromRepo gitAnnexDaemonStatusFile - liftIO . writeDaemonStatusFile file =<< daemonStatus + liftIO . writeDaemonStatusFile file =<< getDaemonStatus |