summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xabs/core/LinHES-system/PKGBUILD4
-rw-r--r--abs/core/LinHES-system/be_check.py12
2 files changed, 11 insertions, 5 deletions
diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD
index e4e26d4..316ce2c 100755
--- a/abs/core/LinHES-system/PKGBUILD
+++ b/abs/core/LinHES-system/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-system
pkgver=2
-pkgrel=131
+pkgrel=132
arch=('i686' 'x86_64')
MVDIR=$startdir/pkg/usr/LH
BINDIR=$startdir/pkg/usr/bin
@@ -118,7 +118,7 @@ md5sums=('d275db0a946087671e0c2014dac9ed22'
'116b0f62ed4e8dd6e437930deeb6e49e'
'17f678d37187be0f12d67f64e40429c6'
'bacc813b48bafcc6fe906e5969930501'
- 'd6d11865317d13f3e2a313980108736b'
+ '8b0298f70f97cc1dc2a58b9a73c64bd3'
'eb879fee9603a05d5420d4ce8ed9e450'
'6782771960c495aeb597893f37d1e5ee'
'84492954db16740f949d795b74383189'
diff --git a/abs/core/LinHES-system/be_check.py b/abs/core/LinHES-system/be_check.py
index 91c39dc..3a13c56 100644
--- a/abs/core/LinHES-system/be_check.py
+++ b/abs/core/LinHES-system/be_check.py
@@ -5,11 +5,17 @@ import sys
class Logger(object):
def __init__(self, filename="/tmp/Default.log"):
#self.terminal = sys.stdout
- self.log = open(filename, "a")
+ try:
+ self.log = open(filename, "a")
+ except:
+ pass
def write(self, message):
- #self.terminal.write(message)
- self.log.write(message)
+ try:
+ #self.terminal.write(message)
+ self.log.write(message)
+ except:
+ pass
sys.stdout = Logger("/tmp/be_check.log")