[arkdep] Lock, not unlock

This commit is contained in:
Dennis ten Hoove 2025-01-20 01:17:14 +01:00
parent eafcdd0cb0
commit f5819bcf95
No known key found for this signature in database
GPG key ID: 2BA91DC2563B83D1

2
arkdep
View file

@ -1408,7 +1408,7 @@ unlayer () {
# Lock root if it was previously locked
if [[ $lock_when_done -eq 1 ]]; then
btrfs property set -f -ts / ro false ||
btrfs property set -f -ts / ro true ||
cleanup_and_quit 'Failed to unlock root partition'
fi