diff options
author | Jeff Layton <jlayton@redhat.com> | 2008-10-09 09:58:40 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2008-10-09 09:58:40 -0400 |
commit | 2c9df6401c4b5cbd49c67c86c58f0515426846bb (patch) | |
tree | 0d82d7bc6aa1b0598dde3341e507c20007a93f5d /source3/lib/sharesec.c | |
parent | dd9002cf498e177b769eabd2fed40213069cd239 (diff) | |
download | samba-2c9df6401c4b5cbd49c67c86c58f0515426846bb.tar.gz samba-2c9df6401c4b5cbd49c67c86c58f0515426846bb.tar.bz2 samba-2c9df6401c4b5cbd49c67c86c58f0515426846bb.zip |
mount.cifs: make return codes match the return codes for /bin/mount (try #3)
The manpage for /bin/mount specifies that the return code should be a
positive integer (actually, it's a bitfield). Clean up the return
codes from mount.cifs to make them match the expected return values
from /bin/mount. This necessary for proper integration with autofs.
This is the third attempt at this patch. The changes here are minor,
just changing some return's from main() into exit() calls for
consistency's sake.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'source3/lib/sharesec.c')
0 files changed, 0 insertions, 0 deletions