diff options
author | Gustav Simonsson <[email protected]> | 2012-02-14 14:52:03 +0100 |
---|---|---|
committer | Gustav Simonsson <[email protected]> | 2012-02-14 14:52:03 +0100 |
commit | f558a706d319bf1b30e8b3cdf4a6a65cc835bf52 (patch) | |
tree | 5d7101c2130ab5a2922646da101621f135bdf4ed /lib/sasl/src | |
parent | 8425d4b6b26a9eea2c707fc343776fc404c0fbad (diff) | |
parent | c421687d485ecf7433b472eb4c7093625a48b23b (diff) | |
download | otp-f558a706d319bf1b30e8b3cdf4a6a65cc835bf52.tar.gz otp-f558a706d319bf1b30e8b3cdf4a6a65cc835bf52.tar.bz2 otp-f558a706d319bf1b30e8b3cdf4a6a65cc835bf52.zip |
Merge branch 'gustav/sasl_release_handler_file_bugfix/OTP-9864' into maint
* gustav/sasl_release_handler_file_bugfix/OTP-9864:
Fix so remove_release can remove symlinks
Diffstat (limited to 'lib/sasl/src')
-rw-r--r-- | lib/sasl/src/release_handler.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sasl/src/release_handler.erl b/lib/sasl/src/release_handler.erl index 522c7b496b..8d2b9c35d3 100644 --- a/lib/sasl/src/release_handler.erl +++ b/lib/sasl/src/release_handler.erl @@ -1572,7 +1572,7 @@ memlib(_Lib, []) -> false. %% recursively remove file or directory remove_file(File) -> - case file:read_file_info(File) of + case file:read_link_info(File) of {ok, Info} when Info#file_info.type==directory -> case file:list_dir(File) of {ok, Files} -> |