diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-06 02:13:24 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-06 02:13:24 +0200 |
commit | 94e55c784463fea7913791ebd9a53875f3be2e5c (patch) | |
tree | 2f96c856c2e3975d80ce3f2890db1c5dcdf3e51d /abrt.init | |
parent | 0acf7bbbbb822f1259cf1e3211e5e79724be6bf7 (diff) | |
download | abrt-94e55c784463fea7913791ebd9a53875f3be2e5c.tar.gz abrt-94e55c784463fea7913791ebd9a53875f3be2e5c.tar.xz abrt-94e55c784463fea7913791ebd9a53875f3be2e5c.zip |
trailing whitespace removal. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'abrt.init')
-rw-r--r-- | abrt.init | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -25,7 +25,7 @@ RETVAL=0 check() { # Check that we're a privileged user [ `id -u` = 0 ] || exit 4 - + # Check if abrt is executable test -x /usr/sbin/abrt || exit 5 } @@ -33,14 +33,14 @@ check() { start() { check - + # Check if it is already running if [ ! -f /var/lock/subsys/abrt ]; then - echo -n $"Starting abrt daemon: " - daemon /usr/sbin/abrt - RETVAL=$? - [ $RETVAL -eq 0 ] && touch /var/lock/subsys/abrt - echo + echo -n $"Starting abrt daemon: " + daemon /usr/sbin/abrt + RETVAL=$? + [ $RETVAL -eq 0 ] && touch /var/lock/subsys/abrt + echo fi return $RETVAL } @@ -48,24 +48,24 @@ start() { stop() { check - + echo -n $"Stopping abrt daemon: " killproc /usr/sbin/abrt RETVAL=$? [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/abrt echo - return $RETVAL + return $RETVAL } restart() { stop start -} +} reload() { restart -} +} case "$1" in start) |