Skip to content

Commit

Permalink
Merge pull request #1312 from yast/huha-sysctl-err
Browse files Browse the repository at this point in the history
Re-add Missing Error class
  • Loading branch information
shundhammer authored Jul 10, 2024
2 parents b49143a + 70c3bf9 commit 92f192a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
8 changes: 8 additions & 0 deletions library/systemd/src/lib/yast2/systemd/target.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ def initialize(target_name)
end
end

# Exception when systemctl command failed
class SystemctlError < StandardError
# @param details [#to_s]
def initialize(details)
super "Systemctl command failed: #{details}"
end
end

# API to manage a systemd.target unit
#
# @example How to find a custom systemd target
Expand Down
6 changes: 6 additions & 0 deletions package/yast2.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 10 12:19:16 UTC 2024 - Stefan Hundhammer <[email protected]>

- Re-added missing error class (bsc#1227580)
- 5.0.9

-------------------------------------------------------------------
Mon May 6 13:08:32 UTC 2024 - Ladislav Slezák <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2
Version: 5.0.8
Version: 5.0.9

Release: 0
Summary: YaST2 Main Package
Expand Down

0 comments on commit 92f192a

Please sign in to comment.