From 1f4070dbf29310962e3d632fe570ec3d8b61f887 Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Thu, 24 Oct 2013 14:46:00 -0500 Subject: [PATCH] Don't require the sysctl file to exist when deleting it --- debian/cassandra.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/cassandra.postinst b/debian/cassandra.postinst index 959145934c..752ff1f6bb 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 ;;