From 6d2cc25b6302173d8eb502b02efd833d71ed1689 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Sun, 13 Jun 2010 21:54:34 +0000 Subject: [PATCH] - Fix a syntax error in kdump init script --- kdump.init | 2 +- kexec-tools.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/kdump.init b/kdump.init index e4113bd..35cb822 100644 --- a/kdump.init +++ b/kdump.init @@ -56,7 +56,7 @@ function save_core() if [ -x /usr/bin/dumpoops ]; then makedumpfile --dump-dmesg $coredir/vmcore $coredir/dmesg >/dev/null 2>&1 dumpoops -d $coredir/dmesg >/dev/null 2>&1 - if [$? == 0]; then + if [ $? == 0 ]; then $LOGGER "kernel oops has been collected by abrt tool" fi fi diff --git a/kexec-tools.spec b/kexec-tools.spec index af71c4f..84c0a16 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -1,6 +1,6 @@ Name: kexec-tools Version: 2.0.0 -Release: 36%{?dist} +Release: 37%{?dist} License: GPLv2 Group: Applications/System Summary: The kexec/kdump userspace component. @@ -280,6 +280,9 @@ done %changelog +* Sun Jun 13 2010 Lubomir Rintel - 2.0.0-37 +- Fix a syntax error in kdump init script + * Sun Jun 13 2010 Lubomir Rintel - 2.0.0-36 - Cosmetic mkdumprd fixes (drop an unused function, streamline another)