Using var is success instead of var.rc == 0 as its not a shell command Change-Id: Ia3b26d594fd4618763d8aba21ca90c5be4dddeae