Skip to content

Commit ed650c7

Browse files
madpilot78bapt
authored andcommitted
Fix typo in comment.
1 parent 3498600 commit ed650c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libpkg/pkg_add.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ pkg_add_common(struct pkgdb *db, const char *path, unsigned flags,
10821082

10831083
free(pkg->digest);
10841084
pkg->digest = xstrdup(remote->digest);
1085-
/* only preserve flags is -A has not been passed */
1085+
/* only preserve flags if -A has not been passed */
10861086
if ((flags & PKG_ADD_AUTOMATIC) == 0)
10871087
pkg->automatic = remote->automatic;
10881088
}

0 commit comments

Comments
 (0)