blob: 065d99b8e40368e625ccf1220c16a162b58b3951 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/bash
function _init ()
{
source $cwd/regression_helpers
}
function absent_volinfo ()
{
$GLUSTERFSDIR/gluster volume info new_volume 2>/dev/null 1>/dev/null;
ret=$?;
return $ret;
}
function main ()
{
absent_volinfo;
op_ret=$?;
if [ $op_ret -ne 0 ]; then
exit 0;
else
exit 1;
fi
}
_init && main "$@"
|