Fix docker_health.sh third check 43/1943/2
authorAlexis de Talhouët <adetalhouet89@gmail.com>
Thu, 9 Mar 2017 21:40:39 +0000 (16:40 -0500)
committerAlexis de Talhouët <adetalhouet89@gmail.com>
Thu, 9 Mar 2017 21:43:43 +0000 (21:43 +0000)
commit7743ee8f8fa48026d6b3cbb0ed1d4f5d2c5d9add
tree37aa83caa0104cf557571a27318b45eed9af5281
parent15b0f730117d4b10f60a7a3188a37c63d7549542
Fix docker_health.sh third check

if [[ ${res} != 0 ]] checks wether the value is "0" but the
value return by the command is "       0" hence the validation
fails.
Changing the if to compare string instead of integer.

Change-Id: Ibb671dcc9c4cd870b931e9e06a185aa4bea5dc5f
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
sdc-os-chef/scripts/docker_health.sh