diff options
author | Niels de Vos <ndevos@redhat.com> | 2014-04-10 22:09:53 +0200 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-04-11 17:58:59 -0700 |
commit | e73af16885f6d11ebcb225edb4d12214ceeba74c (patch) | |
tree | c469f83f99aa5386d8ff1de2f8d5f4e477373035 /glusterfsd/src | |
parent | d69c1bd9b4caf633745e08be61921ac8636d5991 (diff) |
mount.glusterfs: return an error when mounting failed
When mounting fails, mount.glusterfs incorrectly returns 0 for some
error cases, it should return 1 instead. Also make sure that error
messages are redirected to /dev/stderr and not printed to stdout.
Unfortunately it is not possible with the current test-scripts to test
commands like 'mount -t glusterfs ...'. Any mounting of Gluster volumes
is done directly with the 'glusterfs' command instead.
Change-Id: Ica9d45b6d5ae537de869a1fa0f6c3edab47225d1
BUG: 1031973
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/7441
Reviewed-by: Harshavardhana <harsha@harshavardhana.net>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'glusterfsd/src')
0 files changed, 0 insertions, 0 deletions