You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2013/10/24 21:48:10 UTC

[2/6] git commit: Don't require the sysctl file to exist when deleting it

Don't require the sysctl file to exist when deleting it


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

Branch: refs/heads/cassandra-2.0
Commit: 1f4070dbf29310962e3d632fe570ec3d8b61f887
Parents: 9eddaa8
Author: Brandon Williams <br...@apache.org>
Authored: Thu Oct 24 14:46:00 2013 -0500
Committer: Brandon Williams <br...@apache.org>
Committed: Thu Oct 24 14:46:00 2013 -0500

----------------------------------------------------------------------
 debian/cassandra.postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/1f4070db/debian/cassandra.postinst
----------------------------------------------------------------------
diff --git a/debian/cassandra.postinst b/debian/cassandra.postinst
index 9591459..752ff1f 100644
--- a/debian/cassandra.postinst
+++ b/debian/cassandra.postinst
@@ -45,7 +45,7 @@ case "$1" in
             echo "vm.max_map_count to 1048575 in the host." >&2
             echo >&2
             echo "Deleting the local sysctl.d/cassandra.conf." >&2
-            rm -v /etc/sysctl.d/cassandra.conf
+            rm -vf /etc/sysctl.d/cassandra.conf
         fi
     ;;