1
0
Fork 0

go bindings for username lookup by UID

refactor/models
Matthew 2020-05-22 22:10:45 -04:00
parent 8aebf2b291
commit e1a7155cf5
No known key found for this signature in database
GPG Key ID: D499B75C1390E321
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ export default class Util {
const ptsArray = await this.getPTS(username); const ptsArray = await this.getPTS(username);
if (!ptsArray) return false; if (!ptsArray) return false;
for (const pts of ptsArray) { 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}`); await this.exec(`echo "${msg}" >> /dev/pts/${pts}`);
} }
return true; return true;