From 7afdd49e3dfbba5357144e0ab86371cfbdfb5c6d Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Sun, 12 Jul 2020 01:44:09 +0300 Subject: [PATCH] Ignore systemd templates --- cli/cli.go | 2 +- generator/generator.go | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cli/cli.go b/cli/cli.go index 5f146cf..e4a00ba 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -36,7 +36,7 @@ import ( // App info const ( APP = "bop" - VER = "1.1.2" + VER = "1.1.3" DESC = "Utility for generating formal bibop tests for RPM packages" ) diff --git a/generator/generator.go b/generator/generator.go index 069c5f2..d3ab0b9 100644 --- a/generator/generator.go +++ b/generator/generator.go @@ -142,6 +142,10 @@ func genServicesCheck(info *data.Info, services []string) string { continue } + if strings.Contains(service, "@") { + continue + } + switch i { case 0: data += genServiceStartCheck(service, osVersion)