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
1 changed files with 1 additions and 1 deletions

View File

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