Don't warn about PKG_PATH being set when -e is given
This commit is contained in:
parent
b377ecd704
commit
c2c6f0bc61
|
@ -1,11 +1,11 @@
|
|||
/* $NetBSD: main.c,v 1.30 2002/07/19 19:04:37 yamt Exp $ */
|
||||
/* $NetBSD: main.c,v 1.31 2002/08/04 19:43:08 hubertf Exp $ */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
#if 0
|
||||
static char *rcsid = "from FreeBSD Id: main.c,v 1.14 1997/10/08 07:47:26 charnier Exp";
|
||||
#else
|
||||
__RCSID("$NetBSD: main.c,v 1.30 2002/07/19 19:04:37 yamt Exp $");
|
||||
__RCSID("$NetBSD: main.c,v 1.31 2002/08/04 19:43:08 hubertf Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -179,7 +179,7 @@ main(int argc, char **argv)
|
|||
argc -= optind;
|
||||
argv += optind;
|
||||
|
||||
if (argc == 0 && !Flags) {
|
||||
if (argc == 0 && !Flags && !CheckPkg) {
|
||||
/* No argument or flags specified - assume -Ia */
|
||||
Flags = SHOW_INDEX;
|
||||
AllInstalled = TRUE;
|
||||
|
|
Loading…
Reference in New Issue