glusterfs/extras/hook-scripts
Meghana Madhusudhan 9816fe18e8 Hook scripts should exit with correct exit status.
When volume set options other than nfs-ganesha.host and nfs-ganesha.enable
are executed, the hook script S31ganesha-set.sh should exit with
exit status 0. The present behaviour results in an error message in
one of the logs that could be  misleading.

Similarly, hook script S30samba-set.sh should exit with
exit status 0 if samba is not installed. Fixing the issue
with a minor change in the script.

Change-Id: I35d1dc8400bb7043385800ed97adc5321829437f
BUG: 1122978
Signed-off-by: Meghana Madhusudhan <mmadhusu@redhat.com>
Reviewed-on: http://review.gluster.org/8385
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
2014-08-31 11:05:04 -07:00
..
add-brick Regression test portability: mktemp 2014-08-20 13:46:44 -07:00
reset build: make GLUSTERD_WORKDIR rely on localstatedir 2014-08-07 01:17:29 -07:00
set Hook scripts should exit with correct exit status. 2014-08-31 11:05:04 -07:00
start build: make GLUSTERD_WORKDIR rely on localstatedir 2014-08-07 01:17:29 -07:00
stop scripts: CTDB lockvol ping-timeout should be 10secs 2014-06-11 23:08:36 -07:00
Makefile.am cli/hooks : Add volume set options to enable/disable nfs-ganesha support. 2014-05-03 07:24:07 -07:00
S40ufo-stop.py object-storage: Store the lock file in /var/run/swift. 2013-02-07 14:02:19 -08:00
S56glusterd-geo-rep-create-post.sh glusterd/geo-rep: Use getent passwd instead of $HOME 2014-05-20 03:21:30 -07:00