summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-08-06 09:51:09 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2011-08-06 09:51:09 +0200
commit570656b073f645c9a42e89d9e0e03c5bb133d5da (patch)
tree13518d8ea18181ff1a53546bad4a7d54794a4f51
parentfdd82cd972db1303c96ba6b88174c6fc69447247 (diff)
downloadvdr-570656b073f645c9a42e89d9e0e03c5bb133d5da.tar.gz
vdr-570656b073f645c9a42e89d9e0e03c5bb133d5da.tar.bz2
Fixed the return value of the svdrpsend.pl script in case of an error
-rw-r--r--CONTRIBUTORS3
-rw-r--r--HISTORY2
-rwxr-xr-xsvdrpsend.pl2
3 files changed, 6 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 13e402ac..fd584d88 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -2734,3 +2734,6 @@ Holger Dengler <holger.dengler@gmx.de>
Michael Eiler <eiler.mike@gmail.com>
- reporting a crash in case cSkins::Message() is called from a background thread
+
+Jonas Diemer <jonasdiemer@googlemail.com>
+ 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;
}