← Commit list

84f6def07

Denys Vlasenko
Denys Vlasenko
2010-03-30
FAILED Duration: 33s

Subject

dpkg: remove redundant check

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

archival/dpkg.c+0 -1
@@ -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();
}