/bin/checkvnc: un-bashify it
PATCH 1/1 /bin/checkvnc: un-bashify it
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 <[email protected]>
--- bin/checkvnc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
bin/checkvnc +1 -1
@@ -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
Signature · 1 line
2.7.0