mirror of
https://github.com/UzixLS/migresia.git
synced 2025-07-18 23:01:21 +03:00
Whoops; adding the handling of an app already being loaded.
This commit is contained in:
@ -37,6 +37,7 @@ list_unapplied_ups(App) ->
|
||||
get_priv_dir(App) ->
|
||||
case application:load(App) of
|
||||
ok -> filename:join(code:priv_dir(App), ?DIR);
|
||||
{error, {already_loaded, App}} -> filename:join(code:priv_dir(App), ?DIR);
|
||||
Error -> Error
|
||||
end.
|
||||
|
||||
|
Reference in New Issue
Block a user