Skip to content

Commit

Permalink
pkg check: -s is now the default operation mode
Browse files Browse the repository at this point in the history
Fixes:	#1338
  • Loading branch information
bapt committed Nov 19, 2024
1 parent e3712ac commit 37bf9f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/check.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,10 @@ exec_check(int argc, char **argv)
argc -= optind;
argv += optind;

if (!(dcheck || checksums)) {
checksums = true;
flags |= PKG_LOAD_FILES;
}
/* Default to all packages if no pkg provided */
if (argc == 0 && (dcheck || checksums)) {
match = MATCH_ALL;
Expand Down

0 comments on commit 37bf9f3

Please sign in to comment.