We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b0cd13 commit 18394ffCopy full SHA for 18394ff
internal/task/scripts/shell/create_volume.sh
@@ -16,12 +16,12 @@ g_create_opts=(
16
-fileLength="$g_size"
17
)
18
if [ -n "$g_poolset" ]; then
19
- g_build_opts+=("-poolset=$g_poolset")
+ g_create_opts+=("-poolset=$g_poolset")
20
fi
21
22
output=$(curve_ops_tool create "${g_create_opts[@]}")
23
if [ "$?" -ne 0 ]; then
24
- if [ "$output" = "CreateFile fail with errCode: 101" ]; then
+ if [ "$output" = "CreateFile fail with errCode: kFileExists" ]; then
25
echo "EXIST"
26
else
27
echo "FAILED"
0 commit comments