1
0
Fork 0
forked from mirrors/akkoma

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 @@ defp migrate_from_db(opts) 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(