From 0cbd27042a2ab45f3691bb86e0c5b030768a4619 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Mon, 24 Jul 2023 13:10:59 +0200 Subject: don't use tee if root --- bin/common/drop_cache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/common/drop_cache') diff --git a/bin/common/drop_cache b/bin/common/drop_cache index 4833597..e4fc039 100755 --- a/bin/common/drop_cache +++ b/bin/common/drop_cache @@ -4,5 +4,5 @@ then echo "Please run as root." exit 1 fi -echo 3 | tee /proc/sys/vm/drop_caches >/dev/null +echo 3 > /proc/sys/vm/drop_caches echo "cache cleared." -- cgit v1.2.3