vhost-device-sound: test dbus-daemon from PATH
On my NixOS system, dbus-daemon is not at /usr/bin/dbus-daemon, but on systems where it is, it should also be in PATH. Signed-off-by: Alyssa Ross <hi@alyssa.is>
This commit is contained in:
parent
9191a0c1de
commit
f310f2c121
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ pub struct DbusSession {
|
|||
impl DbusSession {
|
||||
pub fn new(working_dir: &Path) -> Self {
|
||||
let address_prefix = format!("unix:path={}", working_dir.join("dbus").display());
|
||||
let mut child = Command::new("/usr/bin/dbus-daemon")
|
||||
let mut child = Command::new("dbus-daemon")
|
||||
.args(["--session", "--address", &address_prefix, "--print-address"])
|
||||
.env("DBUS_VERBOSE", "1")
|
||||
.stdout(Stdio::piped())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue