minotaur: bail if asked to monitor >1 bus
authorWill Thompson <will.thompson@collabora.co.uk>
Fri, 12 Feb 2010 19:19:05 +0000 (19:19 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 29 Apr 2011 14:42:18 +0000 (15:42 +0100)
commit435ddb0df1bee02a690380ea1160ca98af764b8e
tree5658b858af7134a7b0e66877e2301b5bf50193ed
parent8e333e682aeb7be5ed63e5fbcc5eb0376ad9e59a
minotaur: bail if asked to monitor >1 bus

A coworker was just tripped up by `dbus-monitor --session --system` only
monitoring the system bus. This patch would have saved him reproducing a
tricky bug several times!

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=26548
Reviewed-by: Colin Walters <walters@verbum.org>
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
tools/dbus-monitor.c