Skip to content

Commit

Permalink
[Review] Request from 'schubi2' @ 'yast/yast-yast2/review_180112_miss…
Browse files Browse the repository at this point in the history
…ing_package' (#668)

* return empty hash if package has not been installed
  • Loading branch information
schubi2 committed Jan 12, 2018
1 parent 76d04b5 commit aa6d6b3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions library/network/src/lib/y2firewall/firewalld.rb
Expand Up @@ -102,6 +102,7 @@ def write
#
# @return [Hash] dump firewalld settings
def export
return {} unless installed?
{
"default_zone" => default_zone,
"log_denied_packets" => log_denied_packets,
Expand Down
7 changes: 7 additions & 0 deletions package/yast2.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jan 12 14:13:38 CET 2018 - schubi@suse.de

- Firewalld export: Return empty hash if the package has not
been installed. (fate#323460)
- 4.0.34

-------------------------------------------------------------------
Wed Jan 10 17:24:18 CET 2018 - schubi@suse.de

Expand Down
2 changes: 1 addition & 1 deletion package/yast2.spec
Expand Up @@ -16,7 +16,7 @@
#

Name: yast2
Version: 4.0.33
Version: 4.0.34
Release: 0
Summary: YaST2 - Main Package
License: GPL-2.0
Expand Down

0 comments on commit aa6d6b3

Please sign in to comment.