diff options
author | Siri Hansen <[email protected]> | 2011-11-22 16:45:05 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2011-11-23 10:31:31 +0100 |
commit | 0d437e4a7d1d4890111f3ba29e45ffc3137232ff (patch) | |
tree | d36d0ed58977b9656c0c9779f174cdf766dd54e0 /lib/sasl/src | |
parent | f9ab9f01694473e2843f3f1526ef60129a2f123b (diff) | |
download | otp-0d437e4a7d1d4890111f3ba29e45ffc3137232ff.tar.gz otp-0d437e4a7d1d4890111f3ba29e45ffc3137232ff.tar.bz2 otp-0d437e4a7d1d4890111f3ba29e45ffc3137232ff.zip |
Fix release_handler:upgrade_app and downgrade_app when upgrading emulator
Changes to the mechanism for upgrading the emulator in OTP R15 was
erronously not handled in release_handler:upgrade_app, downgrade_app,
upgrade_script and downgrade_script. This has been corrected,
including test and documentation.
Diffstat (limited to 'lib/sasl/src')
-rw-r--r-- | lib/sasl/src/release_handler_1.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sasl/src/release_handler_1.erl b/lib/sasl/src/release_handler_1.erl index b4b288646f..37275eff45 100644 --- a/lib/sasl/src/release_handler_1.erl +++ b/lib/sasl/src/release_handler_1.erl @@ -459,7 +459,9 @@ eval({apply, {M, F, A}}, EvalState) -> apply(M, F, A), EvalState; eval(restart_emulator, _EvalState) -> - throw(restart_emulator). + throw(restart_emulator); +eval(restart_new_emulator, _EvalState) -> + throw(restart_new_emulator). get_opt(Tag, EvalState, Default) -> case lists:keysearch(Tag, 1, EvalState#eval_state.opts) of |