error message for failed readonly disable
This commit is contained in:
parent
358fe207ca
commit
639f899627
@ -166,7 +166,11 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Ensure readonly is turned off
|
# 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.."
|
echo "Finished setting properties.."
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user