From 8e774882db756fc85f813f6ec3dfce30398fb919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C5=A0afr=C3=A1nek?= Date: Mon, 14 Sep 2009 13:46:46 +0000 Subject: [PATCH] fix additional exit code to be LSB compliant... wrong params should result in 2 --- freeipmi-0.7.12-lsb.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freeipmi-0.7.12-lsb.patch b/freeipmi-0.7.12-lsb.patch index 415b301..8393681 100644 --- a/freeipmi-0.7.12-lsb.patch +++ b/freeipmi-0.7.12-lsb.patch @@ -47,6 +47,7 @@ diff -up freeipmi-0.7.12/ipmidetect/freeipmi-ipmidetectd.init.lsb freeipmi-0.7.1 *) - echo "Usage: $0 {start|stop|restart|status|condrestart}" + echo "Usage: $0 {start|stop|restart|status|condrestart|force-reload|try-restart}" - exit 1 +- exit 1 ++ exit 2 esac +exit $RETVAL