extras: Fix stop-all-gluster-processes.sh script
authorKotresh HR <khiremat@redhat.com>
Mon, 23 Mar 2015 09:37:47 +0000 (15:07 +0530)
committerVijay Bellur <vbellur@redhat.com>
Mon, 6 Apr 2015 17:44:35 +0000 (10:44 -0700)
commit85865daa1b7dd11badf9f5192e050e1998c76f8a
tree0526d2d1e5910ee3d50c7ea74550b4735dc47b1c
parent97cfe210c73bcdab653a0da884627009f5c5808b
extras: Fix stop-all-gluster-processes.sh script

"test -n" command takes single string as argument. The
command was failing with "Too many arguments" when multiple
pids are got.

Change-Id: Icc409082f492c72522168d5e203684f00f52cf1b
BUG: 1204641
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Reviewed-on: http://review.gluster.org/9970
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Aravinda VK <avishwan@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
extras/stop-all-gluster-processes.sh