diff options
author | Fredrik Gustafsson <[email protected]> | 2013-08-19 15:48:58 +0200 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-08-19 15:48:58 +0200 |
commit | b3068b837fc5d82a0cf49d57b20d3b6d4ef8ea2d (patch) | |
tree | 2922c61ca4986462d34fa33649de13e7b86a445a /lib | |
parent | d67d41c62059bb90f3ddd58423bb5a693ee81c2e (diff) | |
parent | 0f01c8195a9810fe5ee881440c949ccab15c5db7 (diff) | |
download | otp-b3068b837fc5d82a0cf49d57b20d3b6d4ef8ea2d.tar.gz otp-b3068b837fc5d82a0cf49d57b20d3b6d4ef8ea2d.tar.bz2 otp-b3068b837fc5d82a0cf49d57b20d3b6d4ef8ea2d.zip |
Merge branch 'maint'
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mnesia/src/mnesia_bup.erl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/mnesia/src/mnesia_bup.erl b/lib/mnesia/src/mnesia_bup.erl index fd87be1759..3b084e7371 100644 --- a/lib/mnesia/src/mnesia_bup.erl +++ b/lib/mnesia/src/mnesia_bup.erl @@ -1052,11 +1052,7 @@ local_uninstall_fallback(Master, FA) -> Tmp = FA2#fallback_args.fallback_tmp, Bup = FA2#fallback_args.fallback_bup, file:delete(Tmp), - Res = - case fallback_exists(Bup) of - true -> file:delete(Bup); - false -> ok - end, + Res = file:delete(Bup), ?eval_debug_fun({?MODULE, uninstall_fallback2, post_delete}, []), Master ! {self(), Res}, unlink(Master), |