summaryrefslogtreecommitdiff
path: root/units/graphics
diff options
authorTaihsiang Ho (tai271828) <taihsiang.ho@canonical.com>2019-01-08 22:33:47 +0800
committerTaihsiang Ho (tai271828) <taihsiang.ho@canonical.com>2019-01-08 22:33:47 +0800
commit7bf9147f5d7ca764a705f18ccdc62886113e6e82 (patch)
tree8f81a7f3b2f582f60b7734f95cd033451a1fba71 /units/graphics
parenta497f396944c52579db21f66075ac058f41386ff (diff)
units:graphics: update xorg-process detection method
Diffstat (limited to 'units/graphics')
-rw-r--r--units/graphics/jobs.pxu2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu
index 40f7299..a8224ef 100644
--- a/units/graphics/jobs.pxu
+++ b/units/graphics/jobs.pxu
@@ -46,7 +46,7 @@ id: graphics/xorg-process
requires:
package.name == 'xorg'
package.name == 'procps'
-command: pgrep -f '/usr/bin/X' >/dev/null
+command: pgrep -a -f '/usr/lib/xorg/Xorg'
estimated_duration: 0.100
_description: Test that the X process is running.
_summary: Test that the X process is running.