From 7272c943e57ca516d8103dfbeaaa47c008be4bc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dagfinn=20Ilmari=20Manns=C3=A5ker?= Date: Wed, 5 Mar 2014 11:47:29 +0000 Subject: [PATCH] Set exit status in synopsis ->run now returns the exit status, which needs to be propagated by the script, so include that in the synopsis. --- lib/Daemon/Control.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Daemon/Control.pm b/lib/Daemon/Control.pm index c0af8c0..36b3011 100644 --- a/lib/Daemon/Control.pm +++ b/lib/Daemon/Control.pm @@ -691,7 +691,7 @@ Write a program that describes the daemon: use strict; use Daemon::Control; - Daemon::Control->new( + exit Daemon::Control->new( name => "My Daemon", lsb_start => '$syslog $remote_fs', lsb_stop => '$syslog',