Skip to content

Commit

Permalink
Modify the expected 'DBus daemon started' log string
Browse files Browse the repository at this point in the history
Signal-cli's output on daemon startup has changed (8a216e324571db898a83f7e127018b22a0318ac5).
  • Loading branch information
exquo committed Nov 21, 2021
1 parent 6cb807d commit 0d436fa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scli
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,10 @@ class Daemon(AsyncProc):
return
logging.info('daemon_log: %s', line)
self.callbacks['daemon_log'](line)
if line == "INFO DaemonCommand - Exported dbus object: /org/asamk/Signal":
if any(s in line for s in (
"Exported dbus object: /org/asamk/Signal", # signal-cli v0.9.2 or earlier
"DBus daemon running",
)):
self._run_when_dbus_service_started(
self.callbacks['daemon_started']
)
Expand Down

0 comments on commit 0d436fa

Please sign in to comment.