Merge pull request #289 from truecharts/shellfixes

fix editor mistake
This commit is contained in:
Kjeld Schouten-Lebbing 2022-12-27 16:38:49 +01:00 committed by GitHub
commit f1b5b73f0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ do
data_name=$(echo "$pvc" | awk '{print $3}')
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")
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"
exit 1
else