Hide Forgot
+++ This bug was initially created as a clone of Bug #1007843 +++ Description of problem: exportfs return 0, even specify invalid argument Version-Release number of selected component (if applicable): all version in RHEL5.9 5.10 6.x 7.0 How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: [root@dhcp-13-194 ~]# exportfs -vi */home Invalid exporting option: */home [root@dhcp-13-194 ~]# echo $? 0 [root@dhcp-13-194 ~]# exportfs Expected results: should return !0 Additional info:
This seems to work for me... # exportfs: invalid option -- 'b' usage: exportfs [-afhioruvs] [host:/path] 1 # rpm -q nfs-utils nfs-utils-1.2.9-2.1.el7.x86_64