build: update directive and prepare tasks to new structure.
This commit is contained in:
parent
17cee26dc0
commit
b614bdda36
8 changed files with 57 additions and 17 deletions
|
|
@ -48,7 +48,7 @@ func (p Merge) Apply() ([]string, error) {
|
|||
|
||||
files, err = filepath.Glob(prebuild.RootApparmord.Join(dirRemoved).String())
|
||||
if err != nil {
|
||||
return []string{}, err
|
||||
return res, err
|
||||
}
|
||||
for _, file := range files {
|
||||
if err := paths.New(file).RemoveAll(); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue