Script was using /bin/sh and double brackets were causing an error in nightly-oe-selftest build: /home/pokybuild/yocto-autobuilder/bin/checkvnc: 6: /home/pokybuild/yocto-autobuilder/bin/checkvnc: [[: not found
Changed double to single brackets to make sh happy. Signed-off-by: Graydon, Tracy <tracy.gray...@intel.com> --- bin/checkvnc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/checkvnc b/bin/checkvnc index 574ba48..728031f 100755 --- a/bin/checkvnc +++ b/bin/checkvnc @@ -3,7 +3,7 @@ # check if vnc server is running, and if not, cleanup and restart # pid=$(pidof Xvnc) -if [[ $? != 0 ]]; then +if [ $? != 0 ]; then echo "Xvnc not running, attempting restart" vncserver -kill :1 vncserver -- 2.7.0 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto