core: refuse accepting a scope controller unless we are called on the API bus
authorLennart Poettering <lennart@poettering.net>
Thu, 23 Nov 2017 19:02:00 +0000 (20:02 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Nov 2017 20:47:48 +0000 (21:47 +0100)
commitf2c49c86582300e5fadc0297b29230d4caa1d8fa
tree3f4a2df5121bd3990cab696cc09c1ed20b4e76dd
parentabdb9b08f6b0da45603a5928eb884a8d012127a7
core: refuse accepting a scope controller unless we are called on the API bus

Let's make sure clients get early errors if they try something weird.
src/core/dbus-scope.c