diff --git a/src/com/platform/glusterfs/SetVolume.java b/src/com/platform/glusterfs/SetVolume.java index 8a361b18..6d9fc1e2 100644 --- a/src/com/platform/glusterfs/SetVolume.java +++ b/src/com/platform/glusterfs/SetVolume.java @@ -280,7 +280,7 @@ public class SetVolume { if (new VolumeInfo().getVolumeStatus(volumeName).equals("Stopped")) { log.error("3502 the volume is already stoped"); System.out.println("3502 the volume is already stoped"); - return -1; + return 0; } else { String command = "echo -e \"y\"| gluster volume stop " + volumeName; List reStrings = Constant.ganymedSSH.execCmdWaitAcquiescent(command);