summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/aucat/afile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/aucat/afile.c b/usr.bin/aucat/afile.c
index 69680e7c9c7..cc34cd1a598 100644
--- a/usr.bin/aucat/afile.c
+++ b/usr.bin/aucat/afile.c
@@ -827,7 +827,7 @@ int
afile_seek(struct afile *f, off_t pos)
{
pos += f->startpos;
- if (f->endpos >= 0 && pos > f->endpos) {
+ if (f->endpos >= 0 && pos > f->endpos && !f->par.sig) {
log_puts(f->path);
log_puts(": attempt to seek outside file boundaries\n");
return 0;