From f2bbd90d57e72561b839a30de815f48b5cccf60a Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 24 Dec 2014 18:04:20 +0000
Subject: func: msg.py: change wall cmd so newlines get created

---
 abs/core/func/PKGBUILD | 4 ++--
 abs/core/func/msg.py   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/abs/core/func/PKGBUILD b/abs/core/func/PKGBUILD
index 1b7b000..26cfd7c 100644
--- a/abs/core/func/PKGBUILD
+++ b/abs/core/func/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=func
 pkgver=0.25
-pkgrel=17
+pkgrel=18
 pkgdesc="fedora unifed network controller"
 url=""
 license="gpl"
@@ -42,6 +42,6 @@ md5sums=('892252004f122c61bb58bb4607553ffe'
          '32cc4d15a3083b518d9f645b656cc273'
          'c30f420c01628a08061270e8502115c5'
          'b02a733b7a74569e57521bc3708724a5'
-         '7b4266a8031cf7de485bf6b74e57bd74'
+         '69dd7ac7c7310cf1e9398e4e420031af'
          'b816bdb222e646a7801b218c3a626b0e'
          '7d7c8a334f6b46ae1e5e483854b93924')
diff --git a/abs/core/func/msg.py b/abs/core/func/msg.py
index e776b69..3b34a83 100644
--- a/abs/core/func/msg.py
+++ b/abs/core/func/msg.py
@@ -33,7 +33,7 @@ class msg(func_module.FuncModule):
         cmd = sub_process.Popen("/usr/LH/bin/msg_client.py --msg \"%s\" " % text,stdout=sub_process.PIPE,shell=True)
         data = cmd.communicate()[0]
     
-        cmd = sub_process.Popen("/usr/bin/wall %s" % text,stdout=sub_process.PIPE,shell=True)
+        cmd = sub_process.Popen("/usr/bin/echo -e \"%s\" | /usr/bin/wall" % text, stdout=sub_process.PIPE,shell=True)
         data = cmd.communicate()[0]
         return ("Message delivered")
 
-- 
cgit v0.12

