summaryrefslogtreecommitdiffstats
path: root/abrt.init
diff options
context:
space:
mode:
authorNikola Pajkovsky <npajkovs@redhat.com>2010-03-01 15:33:06 +0100
committerNikola Pajkovsky <npajkovs@redhat.com>2010-03-01 15:33:06 +0100
commitd74e3534266c1a39cc1972f64e77426f2fabf564 (patch)
tree75e53b341561e7b9353f9ccf0656e3a8400af5fd /abrt.init
parentdc0a2bae3695a38da6f36adeeb6835becd5d453c (diff)
downloadabrt-d74e3534266c1a39cc1972f64e77426f2fabf564.tar.gz
abrt-d74e3534266c1a39cc1972f64e77426f2fabf564.tar.xz
abrt-d74e3534266c1a39cc1972f64e77426f2fabf564.zip
fix intendation in initscript
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
Diffstat (limited to 'abrt.init')
-rw-r--r--abrt.init12
1 files changed, 6 insertions, 6 deletions
diff --git a/abrt.init b/abrt.init
index 3906b7a..194a784 100644
--- a/abrt.init
+++ b/abrt.init
@@ -62,7 +62,7 @@ stop() {
killproc $ABRT_BIN
RETVAL=$?
[ $RETVAL -eq 0 ] && rm -f $LOCK
- [ $RETVAL -eq 0 ] && rm -f $OLD_LOCK
+ [ $RETVAL -eq 0 ] && rm -f $OLD_LOCK
echo
return $RETVAL
}
@@ -96,12 +96,12 @@ restart)
;;
condrestart)
if [ -f $LOCK ]; then
- restart
+ restart
+ fi
+ # update from older version
+ if [ -f $OLD_LOCK ]; then
+ restart
fi
- # update from older version
- if [ -f $OLD_LOCK ]; then
- restart
- fi
;;
status)
status abrt