summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inotail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/inotail.c b/inotail.c
index cba84c6..fc9fb7e 100644
--- a/inotail.c
+++ b/inotail.c
@@ -320,6 +320,7 @@ int main(int argc, char **argv)
forever = 1;
break;
case 'n':
+ mode = M_LINES;
n_lines = strtoul(argv[++opt], NULL, 0);
if (n_lines < 0)
n_lines = 0;