xci: scripts: start-new-vm: Mask the pgrep exit code 35/52735/1
authorMarkos Chandras <mchandras@suse.de>
Tue, 27 Feb 2018 12:10:17 +0000 (12:10 +0000)
committerMarkos Chandras <mchandras@suse.de>
Tue, 27 Feb 2018 12:12:13 +0000 (12:12 +0000)
commitaba10663bdd5af8e1129bae6c01e7fdd09cb1a4e
treee45736dc5f07a35b1df94c172c9d7e7f517d5407
parente23de04492ce301cab4c0f73f70508faf4140477
xci: scripts: start-new-vm: Mask the pgrep exit code

pgrep will exit with non-zero exit code if it didn't find a matching
process. This breaks the script since we set 'errexit' so we need to
mask it by simply piping it to a 'cat' command.

Change-Id: I80dcf06b597a769242bd59d628bbd8e09f0f199e
Signed-off-by: Markos Chandras <mchandras@suse.de>
xci/scripts/vm/start-new-vm.sh