summaryrefslogtreecommitdiffstats
path: root/src/Hooks
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-12-09 14:54:51 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-12-09 14:54:51 +0100
commit1ab4f7ab3ca04e0b8ba17eec75cf18345d6b3fbc (patch)
tree902f48322056c0f53a3ef5b965161017c36a1311 /src/Hooks
parente7541bf72e56f56c9af45fccbb8f77efe35dcb94 (diff)
downloadabrt-1ab4f7ab3ca04e0b8ba17eec75cf18345d6b3fbc.tar.gz
abrt-1ab4f7ab3ca04e0b8ba17eec75cf18345d6b3fbc.tar.xz
abrt-1ab4f7ab3ca04e0b8ba17eec75cf18345d6b3fbc.zip
fix incorrect wording
This looked wrong: "This crash has been reported, you can find the report(s) at: Kernel oops report was uploaded." Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Hooks')
-rw-r--r--src/Hooks/sitecustomize.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Hooks/sitecustomize.py b/src/Hooks/sitecustomize.py
index 97941e87..8027726b 100644
--- a/src/Hooks/sitecustomize.py
+++ b/src/Hooks/sitecustomize.py
@@ -13,12 +13,12 @@ def abrt_daemon_ok():
except Exception, ex:
# log the exception?
return False
-
+
pid = pidfile.readline()
pidfile.close()
if not pid:
return False
-
+
try:
# pid[:-1] strips the trailing '\n'
cmdline = open("/proc/%s/cmdline" % pid[:-1], "r").readline()
@@ -27,7 +27,7 @@ def abrt_daemon_ok():
return False
if not ("abrtd" in cmdline):
return False
-
+
return True
if abrt_daemon_ok():