ensure only nonempty vars is added to /etc/exports