summaryrefslogtreecommitdiffstats
path: root/text-utils/more.c
diff options
context:
space:
mode:
Diffstat (limited to 'text-utils/more.c')
-rw-r--r--text-utils/more.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/text-utils/more.c b/text-utils/more.c
index d7d93226f..ac05a658a 100644
--- a/text-utils/more.c
+++ b/text-utils/more.c
@@ -1634,8 +1634,7 @@ void search(char buf[], FILE *file, register int n)
}
break;
}
- } else if (rv != REG_NOMATCH)
- more_error (_("Regular expression botch"));
+ }
}
if (feof (file)) {
if (!no_intty) {