projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2004fa1
)
dpkg: remove redundant check
author
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 30 Mar 2010 14:20:34 +0000
(16:20 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 30 Mar 2010 14:20:34 +0000
(16:20 +0200)
function old new delta
dpkg_main 4008 3991 -17
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/dpkg.c
patch
|
blob
|
history
diff --git
a/archival/dpkg.c
b/archival/dpkg.c
index 7caccef7cc23c1aee49062cc4526419c5ce87c57..219512b9ab81c3d1a6756a75cc7cb7445c6a3e35 100644
(file)
--- a/
archival/dpkg.c
+++ b/
archival/dpkg.c
@@
-1739,7
+1739,6
@@
int dpkg_main(int argc UNUSED_PARAM, char **argv)
//if (opt & OPT_unpack) ... // -u (--unpack in official dpkg)
if (!(opt & OPTMASK_cmd) /* no cmd */
|| ((opt & OPTMASK_cmd) & ((opt & OPTMASK_cmd)-1)) /* more than one cmd */
- || (!(opt & OPT_list_installed) && !argv[0]) /* - all except -l require argument */
) {
bb_show_usage();
}