fix editor mistake
This commit is contained in:
parent
5e675ab7ae
commit
b7e055258d
@ -57,7 +57,7 @@ do
|
|||||||
data_name=$(echo "$pvc" | awk '{print $3}')
|
data_name=$(echo "$pvc" | awk '{print $3}')
|
||||||
volume_name=$(echo "$pvc" | awk '{print $4}')
|
volume_name=$(echo "$pvc" | awk '{print $4}')
|
||||||
full_path=$(zfs list -t filesystem -r "$pool"/ix-applications/releases/"$app"/volumes -o name -H | grep "$volume_name")
|
full_path=$(zfs list -t filesystem -r "$pool"/ix-applications/releases/"$app"/volumes -o name -H | grep "$volume_name")
|
||||||
if ! zfs set mountpoint=/heavyscript/"$data_name" "$full_path" ; then
|
if ! zfs set mountpoint=/truetool/"$data_name" "$full_path" ; then
|
||||||
echo "Error: Failed to mount $app"
|
echo "Error: Failed to mount $app"
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user