xbps-bin: fix for previous.

This commit is contained in:
Juan RP 2010-11-24 16:39:14 +01:00
parent 940e077fb4
commit 278a37a24a

View File

@ -240,6 +240,7 @@ main(int argc, char **argv)
goto out;
}
lpc.state = 0;
if (argv[1]) {
if (strcmp(argv[1], "installed") == 0)
lpc.state = XBPS_PKG_STATE_INSTALLED;