Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3024bc7

Browse files
authored
Merge pull request #52 from Sykomaniac/bugfix/slice-name
Remove call to unitName
2 parents 2e2922e + 2596f33 commit 3024bc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

systemd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func Slice(slice, name string) Path {
5454
slice = defaultSlice
5555
}
5656
return func(subsystem Name) (string, error) {
57-
return filepath.Join(slice, unitName(name)), nil
57+
return filepath.Join(slice, name), nil
5858
}
5959
}
6060

0 commit comments

Comments
 (0)