services() fix for ubuntu 22.04
This commit is contained in:
parent
fc51b67e2f
commit
bb47fddde0
@ -160,7 +160,7 @@ function services(srv, callback) {
|
||||
for (const s of tmpsrv) {
|
||||
const name = s.split('.service')[0];
|
||||
if (name) {
|
||||
srvs.push(name);
|
||||
srvs.push(name.trim());
|
||||
}
|
||||
}
|
||||
srvString = srvs.join('|');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user