diff --git a/functions/backup.sh b/functions/backup.sh index c13847f0..7985843b 100644 --- a/functions/backup.sh +++ b/functions/backup.sh @@ -166,7 +166,11 @@ do done # Ensure readonly is turned off - zfs set readonly=off "$pool"/ix-applications + if ! zfs set readonly=off "$pool"/ix-applications;then + echo -e "Error: Failed to set ZFS ReadOnly to \"off\"" + echo -e "After the restore, attempt to run the following command manually:" + echo "zfs set readonly=off $pool/ix-applications" + fi echo "Finished setting properties.."