diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-07-24 13:10:59 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-07-24 13:10:59 +0200 |
commit | 0cbd27042a2ab45f3691bb86e0c5b030768a4619 (patch) | |
tree | afc3286f5197c9709c1f98752573a48368de93ab /bin/common/drop_cache | |
parent | bfde7ebf65e761a6df9a8bfb43ea5d40b44472c0 (diff) |
don't use tee if root
Diffstat (limited to 'bin/common/drop_cache')
-rwxr-xr-x | bin/common/drop_cache | 2 |
1 files changed, 1 insertions, 1 deletions
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." |