Skip to content

Commit

Permalink
Fix Service.Status code output (bnc#867378)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Moravec committed Mar 11, 2014
1 parent c09dbbf commit a6df130
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/runlevel/src/modules/Service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def Status(name)
Convert.to_integer(
SCR.Execute(
path(".target.bash"),
Builtins.sformat("%1 status %2.service", @invoker, name),
Builtins.sformat("%1 is-active %2.service", @invoker, name),
{ "TERM" => "raw" }
)
)
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 @@
-------------------------------------------------------------------
Tue Mar 11 13:41:08 UTC 2014 - vmoravec@suse.com

- Adapt System.Status for latest systemctl (bnc#867378)
- 3.1.24

-------------------------------------------------------------------
Thu Mar 6 15:21:44 UTC 2014 - vmoravec@suse.com

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: 3.1.23
Version: 3.1.24
Release: 0
URL: https://github.com/yast/yast-yast2

Expand Down

0 comments on commit a6df130

Please sign in to comment.