really re-fix linux cache clear
[ardour.git] / tools / run-readtest.sh
index b50add4944558beeaa22d234b21af0e7b316023a..fb1d6cd3ede8c9d89d9db19dafe8e07b57aaa741 100755 (executable)
@@ -73,7 +73,7 @@ for bs in $@ ; do
     if uname -a | grep --silent arwin ; then
         # clears cache on OS X
         sudo purge
-    elif [ -f /proc/sys/vm/drop_cache ] ; then
+    elif [ -f /proc/sys/vm/drop_caches ] ; then
         # Linux cache clearing
         echo 3 | sudo tee /proc/sys/vm/drop_caches >/dev/null
     else