Add -v option to restorecon to see the result

Please check the result current result and after this patch applied. Now oo-restorecon -v option is just show the command only.

(  Current  )
[root@node1 ~]#  /usr/sbin/oo-restorecon -av
restorecon -R -v /var/lib/openshift/5399bb133a0fb2fd24000001/
chcon -l s0:c1,c1022 -R /var/lib/openshift/5399bb133a0fb2fd24000001/*

(After this patch applied)
[root@node1 ~]#  /usr/sbin/oo-restorecon -av
restorecon -R -v /var/lib/openshift/5399bb133a0fb2fd24000001/
restorecon reset /var/lib/openshift/5399bb133a0fb2fd24000001/hoge context unconfined_u:object_r:usr_t:s0:c1,c1022->unconfined_u:object_r:openshift_var_lib_t:s0:c1,c1022
chcon -l s0:c1,c1022 -R /var/lib/openshift/5399bb133a0fb2fd24000001/*

I don't think your if logic is quite right.  I think you want:

if verbose && !result.empty?
  puts result
end