suggestion

This commit is contained in:
Alexander Strizhakov 2021-03-23 17:27:02 +03:00
parent 03843a5386
commit 4cd34d0197
No known key found for this signature in database
GPG key ID: 022896A53AEF1381

View file

@ -282,7 +282,7 @@ defmodule Mix.Tasks.Pleroma.Config do
else else
_ -> _ ->
shell_error("Impossible to save settings to this directory #{Path.dirname(config_path)}") 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) file = File.open!(tmp_config_path)
shell_info( shell_info(