fix to fix

This commit is contained in:
ceriel 1989-03-30 15:14:37 +00:00
parent f1c6de0f1f
commit 87c1bc774b

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");