Correct test for vi instead of vim on centos