From 570656b073f645c9a42e89d9e0e03c5bb133d5da Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 6 Aug 2011 09:51:09 +0200 Subject: Fixed the return value of the svdrpsend.pl script in case of an error --- CONTRIBUTORS | 3 +++ HISTORY | 2 ++ svdrpsend.pl | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 13e402ac..fd584d88 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2734,3 +2734,6 @@ Holger Dengler Michael Eiler - reporting a crash in case cSkins::Message() is called from a background thread + +Jonas Diemer + for fixing the return value of the svdrpsend.pl script in case of an error diff --git a/HISTORY b/HISTORY index 6af67527..3b3c4e30 100644 --- a/HISTORY +++ b/HISTORY @@ -6659,3 +6659,5 @@ Video Disk Recorder Revision History Christoph Haubrich). - cSkins::Message() now blocks calls from background threads (thanks to Michael Eiler for reporting a crash in such a scenario). +- Fixed the return value of the svdrpsend.pl script in case of an error (thanks to + Jonas Diemer). diff --git a/svdrpsend.pl b/svdrpsend.pl index 03d78fea..caf3b41f 100755 --- a/svdrpsend.pl +++ b/svdrpsend.pl @@ -52,6 +52,6 @@ sub Error { print STDERR "@_\n"; close(SOCK); - exit 0; + exit 1; } -- cgit v1.2.3