From: Alexander Strizhakov Date: Tue, 23 Mar 2021 14:27:02 +0000 (+0300) Subject: suggestion X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=4cd34d019764fdd68829ebd4282118abc4534133;p=akkoma suggestion --- diff --git a/lib/mix/tasks/pleroma/config.ex b/lib/mix/tasks/pleroma/config.ex index ac89702ae..22502a522 100644 --- a/lib/mix/tasks/pleroma/config.ex +++ b/lib/mix/tasks/pleroma/config.ex @@ -282,7 +282,7 @@ defmodule Mix.Tasks.Pleroma.Config do else _ -> shell_error("Impossible to save settings to this directory #{Path.dirname(config_path)}") - tmp_config_path = Path.join("/tmp", filename) + tmp_config_path = Path.join(System.tmp_dir!(), filename) file = File.open!(tmp_config_path) shell_info(