Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib-storage: Use getuid() instead of geteuid() for checking if we're …
…running as root. This fixes running multiple doveadm commands for different users. Running mail_storage_service_init() + _deinit() multiple times left euid non-root, which dropped the MAIL_STORAGE_SERVICE_FLAG_TEMP_PRIV_DROP flag.
- Loading branch information