OpenSolaris

Printable Version Enter a New Search
Bug ID 6652281
Synopsis sharemgr returns code 0 when illegal option is used
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:filesystem
Keywords
Responsible Engineer Doug Mccallum
Reported Against snv_79
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_84
Fixed In snv_84
Release Fixed solaris_nevada(snv_84)
Related Bugs 6518352
Submit Date 18-January-2008
Last Update Date 27-February-2008
Description
sharemgr return code is 0 even though it reports an error : illegal use of option. Surely the return code in this situation should be non 0.

The system is installed with snv_81.

bash-3.2# sharemgr create -P nfs -p rw=true -p anon=0 -S sys autoGrShare
create: illegal option -- S
usage: create [-nvh] [-P proto [-p property=value]] group
bash-3.2# echo $?
0
Work Around
N/A
Comments
N/A