fix to fix

This commit is contained in:
ceriel
1989-03-30 15:14:37 +00:00
parent c5d4740476
commit 5191ba299c

View File

@@ -222,7 +222,7 @@ char *argv[];
} }
} }
if (needs_arg) if (needs_arg && argc <= 3)
usage(); usage();
if (local_fl) strcpy(temp_arch, "ar.XXXXXX"); if (local_fl) strcpy(temp_arch, "ar.XXXXXX");
else strcpy(temp_arch, "/tmp/ar.XXXXXX"); else strcpy(temp_arch, "/tmp/ar.XXXXXX");