mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-03 12:12:12 +00:00
policycoreutils: sandbox: use dbus-launch
Instead of directly calling, use dbus-launch. Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
26ff83cf87
commit
64b7a309c5
@ -237,7 +237,7 @@ class Sandbox:
|
||||
/usr/bin/test -r ~/.xmodmap && /usr/bin/xmodmap ~/.xmodmap
|
||||
%s &
|
||||
WM_PID=$!
|
||||
%s
|
||||
dbus-launch --exit-with-session %s
|
||||
kill -TERM $WM_PID 2> /dev/null
|
||||
""" % (command, wm, command))
|
||||
fd.close()
|
||||
|
Loading…
Reference in New Issue
Block a user