summaryrefslogtreecommitdiff
path: root/sfeed_tail.c
diff options
context:
space:
mode:
Diffstat (limited to 'sfeed_tail.c')
-rw-r--r--sfeed_tail.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfeed_tail.c b/sfeed_tail.c
index cce8ea0..fd47a43 100644
--- a/sfeed_tail.c
+++ b/sfeed_tail.c
@@ -158,7 +158,7 @@ main(int argc, char *argv[])
continue;
}
- /* did the file change? by size, modification */
+ /* did the file change? by size or modification time */
if (stfiles[i - 1].st_size != st.st_size ||
stfiles[i - 1].st_mtime != st.st_mtime) {
name = ((name = strrchr(argv[i], '/'))) ? name + 1 : argv[i];
@@ -177,8 +177,8 @@ main(int argc, char *argv[])
changed = 0;
slept = 0;
}
- sleep(1);
- slept++;
+ sleep(10);
+ slept += 10;
firsttime = 0;
}
return 0;