11603 smbadm has wrong exit code while listing SMB group properties

Review Request #2256 - Created Aug. 21, 2019 and updated

Information
Yuri Pankov
illumos-gate
master
11603
8faae5e...
Reviewers
general

Initialize ret in both smbadm_group_setprop() and smbadm_group_getprop(). While here, get rid of the warning silencing for good.

Check that smbadm returns 0 on success for the get/set commands.

Rich Lowe
Ship It!
Andrew Stormont
Ship It!
Loading...