commit: 4cd34d019764fdd68829ebd4282118abc4534133
parent 03843a53868860c0b6b2bebcf262bde746482f7e
Author: Alexander Strizhakov <alex.strizhakov@gmail.com>
Date: Tue, 23 Mar 2021 17:27:02 +0300
suggestion
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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(