Bug#823077: irda-utils: Fix LSB init output
Source: irda-utils
Source-Version: 0.9.18-14
Severity: wishlist
Tags: patch
Hi!
The attached patch fixes the LSB init script to have more consistent
output.
Thanks,
Guillem
From eb72dbc61abef4650a0441b9673f3b26c241378c Mon Sep 17 00:00:00 2001
From: Guillem Jover <guillem@debian.org>
Date: Sat, 30 Apr 2016 15:46:51 +0200
Subject: [PATCH] irda-utils: Fix LSB init output
---
debian/irda-utils.init | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/debian/irda-utils.init b/debian/irda-utils.init
index cf0c88a..86da079 100644
--- a/debian/irda-utils.init
+++ b/debian/irda-utils.init
@@ -55,8 +55,7 @@ if [ -f /etc/default/$PACKAGE ]; then
. /etc/default/$PACKAGE
fi
if [ "$ENABLE" = "false" ]; then
- log_action_begin_msg "Skipping $DESC:" "$NAME (not enabled)"
- log_action_end_msg 0
+ log_action_msg "Skipping $DESC:" "$NAME (not enabled)"
exit 0
fi
if [ -z "$DEVICE" ]; then
--
2.8.1
Reply to: