we need use `!=` for string comparision in bash instead of `-ne`. Also, need to correct periodicity if condition to make it work as expected. Signed-off-by: subhamkrai <srai@redhat.com> (cherry picked from commit 9d4d5bc702)
9d4d5bc702