- Remove test email address from config
OBS-URL: https://build.opensuse.org/package/show/Base:System/mcelog?expand=0&rev=16
This commit is contained in:
parent
ac167d13c2
commit
057d12d1d6
@ -1,38 +0,0 @@
|
|||||||
mcelog: Fix cache trigger syntax error
|
|
||||||
|
|
||||||
and some whitespace cleanups
|
|
||||||
|
|
||||||
The fix is the additional semicolon at the end which will result in a shell
|
|
||||||
syntax error if the trigger is executed.
|
|
||||||
|
|
||||||
Signed-off-by: Thomas Renninger <trenn@suse.de>
|
|
||||||
|
|
||||||
---
|
|
||||||
triggers/cache-error-trigger | 8 ++++----
|
|
||||||
1 files changed, 4 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/triggers/cache-error-trigger b/triggers/cache-error-trigger
|
|
||||||
index 20f252a..d2e0107 100755
|
|
||||||
--- a/triggers/cache-error-trigger
|
|
||||||
+++ b/triggers/cache-error-trigger
|
|
||||||
@@ -19,16 +19,16 @@
|
|
||||||
#
|
|
||||||
EXIT=0
|
|
||||||
|
|
||||||
-for i in $CPUS_AFFECTED ; do
|
|
||||||
- if [ $i = 0 ] ; then
|
|
||||||
- logger -s -p daemon.warn -t mcelog "Not offlining CPU 0"
|
|
||||||
+for i in $CPUS_AFFECTED; do
|
|
||||||
+ if [ $i = 0 ]; then
|
|
||||||
+ logger -s -p daemon.warn -t mcelog "Not offlining CPU 0"
|
|
||||||
EXIT=1
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
logger -s -p daemon.crit -t mcelog "Offlining CPU $i due to cache error threshold"
|
|
||||||
F=$(printf "/sys/devices/system/cpu/cpu%d/online" $i)
|
|
||||||
echo 0 > $F
|
|
||||||
- if [ "$(< $F)" != "0" ] then
|
|
||||||
+ if [ "$(< $F)" != "0" ]; then
|
|
||||||
logger -s -p daemon.warn -t mcelog "Offlining CPU $i failed"
|
|
||||||
EXIT=1
|
|
||||||
fi
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 7 09:51:57 UTC 2011 - trenn@suse.de
|
||||||
|
|
||||||
|
- Remove test email address from config
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 25 15:48:57 CEST 2010 - trenn@suse.de
|
Mon Oct 25 15:48:57 CEST 2010 - trenn@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package mcelog (Version 1.0pre3)
|
# spec file for package mcelog (Version 1.0pre3.6363f5b719e9)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
|
@ -7,4 +7,4 @@
|
|||||||
# ECC errors), processor or other HW are sent with a detailed description
|
# ECC errors), processor or other HW are sent with a detailed description
|
||||||
# to this address. Also read README.email_setup for further details.
|
# to this address. Also read README.email_setup for further details.
|
||||||
#
|
#
|
||||||
MCELOG_ADMIN_EMAIL="trenn@suse.de"
|
MCELOG_ADMIN_EMAIL=""
|
||||||
|
Loading…
Reference in New Issue
Block a user