diff options
Diffstat (limited to 'src/busctl')
-rw-r--r-- | src/busctl/busctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/busctl/busctl.c b/src/busctl/busctl.c index cc7ca1ae19..bac7fb06c4 100644 --- a/src/busctl/busctl.c +++ b/src/busctl/busctl.c @@ -2004,8 +2004,7 @@ int main(int argc, char *argv[]) { goto finish; } - if (streq_ptr(argv[optind], "monitor") || - streq_ptr(argv[optind], "capture")) { + if (STRPTR_IN_SET(argv[optind], "monitor", "capture")) { r = sd_bus_set_monitor(bus, true); if (r < 0) { |