aboutsummaryrefslogtreecommitdiff
path: root/src/dropcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dropcache.c')
-rw-r--r--src/dropcache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dropcache.c b/src/dropcache.c
index 659f00a..ced103c 100644
--- a/src/dropcache.c
+++ b/src/dropcache.c
@@ -14,6 +14,7 @@ main(int argc, char **argv)
perror(drop_caches);
return 1;
}
+ sync();
if (write(fd, "3\n", 2) != 2)
{
perror(drop_caches);

Return to:

Send suggestions and report system problems to the System administrator.