mount: fix nfs re-mounting

This commit is contained in:
Girish Ramakrishnan
2021-06-18 23:48:39 -07:00
parent c23b935cea
commit 90657af7f2
2 changed files with 2 additions and 2 deletions

View File

@@ -33,6 +33,6 @@ systemctl daemon-reload
# systemd can automatically create the "where" dir but the backup logic relies on permissions
mkdir -p "${where}"
chown yellowtent:yellowtent "${where}"
chown yellowtent:yellowtent "${where}" || true # this can fail with nfs+root_squash
systemctl enable --no-block --now "${mount_filename}" || true