Skip to content

Commit

Permalink
Merge pull request #241 from yast/13.2-backport-tmp-cleaning
Browse files Browse the repository at this point in the history
13.2 backport tmp cleaning
  • Loading branch information
jreidinger committed Jun 4, 2015
2 parents 73d6496 + d3ea636 commit 133f64a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions package/yast2-bootloader.changes
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 4 07:42:21 UTC 2015 - jreidinger@suse.com

- add missing cleaning of tmp file (bnc#926843)

-------------------------------------------------------------------
Tue Feb 10 15:24:53 UTC 2015 - ancor@suse.com

Expand Down
4 changes: 3 additions & 1 deletion src/include/bootloader/routines/lib_iface.rb
Expand Up @@ -353,7 +353,9 @@ def InitializeBootloader

# perl have slightly different evaluation of boolean, so lets convert it
ret = ![false, nil, 0, ""].include?(ret)
return ret
ret
ensure
ret_data.unlink
end

# Get contents of files from the library cache
Expand Down

0 comments on commit 133f64a

Please sign in to comment.