[DRE-commits] [unicorn] 01/01: fix init script

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Tue Jul 26 09:16:23 UTC 2016


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository unicorn.

commit 6080d5edf19ebf6acf9e2b0e1f51e62d66353ae3
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue Jul 26 11:37:49 2016 +0530

    fix init script
---
 debian/changelog    | 7 +++++++
 debian/unicorn.init | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 3a3a2de..ca6da95 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+unicorn (5.0.1-2) unstable; urgency=medium
+
+  * Team upload
+  * Fix init script (Closes: #832119)
+
+ -- Pirate Praveen <praveen at debian.org>  Tue, 26 Jul 2016 11:37:40 +0530
+
 unicorn (5.0.1-1) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/unicorn.init b/debian/unicorn.init
index ffaae7d..70d4f45 100644
--- a/debian/unicorn.init
+++ b/debian/unicorn.init
@@ -39,7 +39,7 @@ exit_with_message() {
 }
 
 check_config_rb() {
-  if [ -s $CONFIG_RB ]; then
+  if ! [ -s $CONFIG_RB ]; then
     exit_with_message "Unicorn config.rb is missing (see /etc/default/unicorn)."
   fi
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/unicorn.git



More information about the Pkg-ruby-extras-commits mailing list