FYI - Arduino to Linux serial communications

:~
I used this code and it displays, but the sting comparison doesn't end/break ?

Arduino code:

void setup()                  
{
  Serial.begin(9600);     
  Serial.println("oHai World!");}

void loop()                       
{     
     delay(1000);
     Serial.println("END");
 }

bash script:

#!/bin/bash

stty -F /dev/ttyACM0 hupcl
stty -F /dev/ttyACM0 cs8 9600 raw ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke noflsh -ixon -crtscts
 
while read line; do
     if [ "$line" != "END" ]; 
       then echo $line
     else 
       echo success         
       break
     fi
done < /dev/ttyACM0


echo IHateSandcastles.jpg

output:

oHai World!
END
END
END
END
END
END
END
END
END
END
END

seems the if/then string comparison isn't working?