summary refs log tree commit diff
path: root/fq.c
diff options
context:
space:
mode:
Diffstat (limited to 'fq.c')
-rw-r--r--fq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fq.c b/fq.c
index f603d00..8dbb3f3 100644
--- a/fq.c
+++ b/fq.c
@@ -103,10 +103,10 @@ main(int argc, char *argv[])
 				len = 2*len + 1;
 				argv = realloc(argv, len * sizeof (char *));
 				if (!argv)
-					break;
+					exit(222);
 			}
 			if (!(argv[argc] = strdup(d->d_name)))
-				break;
+				exit(222);
 			argc++;
 		}