221
221
# Check that the mount point and encrypted directory are empty (skip symlinks).
222
222
# Perhaps one day we could provide a migration mode (using rsync or something),
223
223
# but this would be VERY hard to do safely.
225
225
if [ "$count" != "0" ]; then
226
226
error "$MOUNTPOINT must be empty before proceeding"
229
229
if [ "$count" != "0" ]; then
230
230
error "$CRYPTDIR must be empty before proceeding"