From e1a7155cf55bd42f8d770bc54f11ef506da39670 Mon Sep 17 00:00:00 2001 From: Matthew Ray Date: Fri, 22 May 2020 22:10:45 -0400 Subject: [PATCH] go bindings for username lookup by UID --- src/class/Util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/class/Util.ts b/src/class/Util.ts index 5f67163..db66f7d 100644 --- a/src/class/Util.ts +++ b/src/class/Util.ts @@ -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;