diff options
| author | Paweł Stołowski <stolowski@gmail.com> | 2020-06-18 10:10:36 +0200 |
|---|---|---|
| committer | Paweł Stołowski <stolowski@gmail.com> | 2020-06-18 10:10:36 +0200 |
| commit | cf55ae4c8fac8b965c23f598194ecbfbfb484b44 (patch) | |
| tree | 78da07a4e453035905ff1137272e53018e5150f8 | |
| parent | e8e58d97d8bca892a6482d922436d2375770744e (diff) | |
Log stop of services if reason is StopReasonOther, but omit reason: message.service-control-task
| -rw-r--r-- | wrappers/services.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wrappers/services.go b/wrappers/services.go index ea8f18fb98..dbfd8b0ae2 100644 --- a/wrappers/services.go +++ b/wrappers/services.go @@ -476,6 +476,8 @@ func StopServices(apps []*snap.AppInfo, flags *StopServicesFlags, reason snap.Se if reason != snap.StopReasonOther { logger.Debugf("StopServices called for %q, reason: %v", apps, reason) + } else { + logger.Debugf("StopServices called for %q", apps) } for _, app := range apps { // Handle the case where service file doesn't exist and don't try to stop it as it will fail. |
