summaryrefslogtreecommitdiff
diff options
authorPaweł Stołowski <stolowski@gmail.com>2021-03-31 14:30:08 +0000
committerPaweł Stołowski <stolowski@gmail.com>2021-04-06 14:53:03 +0000
commitebf9f687d267e1f0ea79c0f789d205054e509ed7 (patch)
treea7a99fa9c3de5081e1a7e2c55a5a6eda62b2f58e
parent21b0210ab1b036c90a7054b2423061094f621451 (diff)
-rw-r--r--systemd/systemd.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/systemd/systemd.go b/systemd/systemd.go
index b53aa7b880..e37f477218 100644
--- a/systemd/systemd.go
+++ b/systemd/systemd.go
@@ -442,10 +442,10 @@ func (*systemd) LogReader(serviceNames []string, n int, follow bool) (io.ReadClo
var statusregex = regexp.MustCompile(`(?m)^(?:(.+?)=(.*)|(.*))?$`)
type UnitStatus struct {
- Daemon string
- UnitName string
- Enabled bool
- Active bool
+ Daemon string
+ UnitName string
+ Enabled bool
+ Active bool
// Installed is false if the queried unit doesn't exist.
Installed bool
}