services() fix for ubuntu 22.04
This commit is contained in:
+1
-1
@@ -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('|');
|
||||
|
||||
Reference in New Issue
Block a user