forked from engineering/cloudservices
go bindings for username lookup by UID
parent
8aebf2b291
commit
e1a7155cf5
|
@ -58,7 +58,7 @@ export default class Util {
|
|||
const ptsArray = await this.getPTS(username);
|
||||
if (!ptsArray) return false;
|
||||
for (const pts of ptsArray) {
|
||||
const msg = `==SYSTEM NOTIFICATION | CLOUD SERVICES MANAGEMENT DAEMON==\n${new Date().toLocaleString('en-us')}\n\n${message}\n`;
|
||||
const msg = `\n==SYSTEM NOTIFICATION | CLOUD SERVICES MANAGEMENT DAEMON==\n${new Date().toLocaleString('en-us')}\n\n${message}\n`;
|
||||
await this.exec(`echo "${msg}" >> /dev/pts/${pts}`);
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue