cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [2/6] git commit: actually create PID directory
Date Mon, 30 Sep 2013 18:01:37 GMT
actually create PID directory

Patch by Anton Winter; reviewed by eevans for CASSANDRA-6101


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/eb2a813c
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/eb2a813c
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/eb2a813c

Branch: refs/heads/trunk
Commit: eb2a813cdfee7bdfbefade9efa0f6f743f4bb995
Parents: 36ed511
Author: Eric Evans <eevans@apache.org>
Authored: Mon Sep 30 11:07:45 2013 -0500
Committer: Eric Evans <eevans@apache.org>
Committed: Mon Sep 30 11:07:45 2013 -0500

----------------------------------------------------------------------
 debian/init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/eb2a813c/debian/init
----------------------------------------------------------------------
diff --git a/debian/init b/debian/init
index 66dd321..a9496ef 100644
--- a/debian/init
+++ b/debian/init
@@ -133,7 +133,7 @@ do_start()
     heap_dump_f="$cassandra_home/java_`date +%s`.hprof"
     error_log_f="$cassandra_home/hs_err_`date +%s`.log"
 
-    [ -e `dirname "PIDFILE"` ] || \
+    [ -e `dirname "$PIDFILE"` ] || \
         install -d -ocassandra -gcassandra -m750 `dirname $PIDFILE`
 
     start-stop-daemon -S -c cassandra -a /usr/sbin/cassandra -q -p "$PIDFILE" -t >/dev/null
|| return 1


Mime
View raw message