cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [2/6] git commit: Don't require the sysctl file to exist when deleting it
Date Thu, 24 Oct 2013 19:48:10 GMT
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 <brandonwilliams@apache.org>
Authored: Thu Oct 24 14:46:00 2013 -0500
Committer: Brandon Williams <brandonwilliams@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
     ;;
 


Mime
View raw message