Commit bb137267 authored by Dmitry Blinov's avatar Dmitry Blinov

proview: fix pgrep exit code mistake

parent cffece2c
......@@ -380,7 +380,7 @@ pre-build =
${xserver:location}/bin/Xorg -noreset +extension GLX +extension RANDR +extension RENDER -config ${:compile-dir}/src/tools/dummy_display/xorg.conf :99 &
post-install =
PID=`pgrep -u "$(whoami)" -f -x '${xserver:location}/bin/Xorg.*'`
PID=`pgrep -u "$(whoami)" -f -x '${xserver:location}/bin/Xorg.*'` || true #pgrep returns 1 on notfound
if [ ! -z "$PID" ]; then kill -TERM $PID; fi
make-targets =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment