You get this error because $grep_respin this ...
if [ -z $grep_resp ]; then
... is probably decrypted into a string containing spaces. If you put quotation marks there:
if [ -z "$grep_resp" ]; then
He will do what you expect. However, I think all this may be unnecessary. Chrome does not automatically create a background or something else when it starts, so you should do this:
google-chrome $address
echo turning computer off
...
source
share