If语句中,为什么总是执行不到else下面的程序段
#!/bin/bash
#This program is used to study if then
echo "press y to continue: \C"
read yn
echo "you keyin: $yn"
if [ "$yn"="y" ] || [ "$yn"="Y" ];
then
echo "Script is running...";
else
echo "Sorry, you gived the wrong key!";
fi
echo "Running end!"
请教上面的程序, 为什么总是执行不到else下面的程序段?