]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-context.patch
- %addusertogroup macro for RPM
[packages/rpm.git] / rpm-context.patch
CommitLineData
212db802
AM
1Index: rpmsx.c
2===================================================================
3RCS file: /cvs/devel/rpm/lib/rpmsx.c,v
4retrieving revision 2.6
5diff -u -u -r2.6 rpmsx.c
6--- rpm/lib/rpmsx.c 25 Dec 2003 23:00:45 -0000 2.6
7+++ rpm/lib/rpmsx.c 17 Jan 2004 17:52:19 -0000
8@@ -316,7 +316,10 @@
9 /*@=branchstate@*/
10
11 if ((fp = fopen(fn, "r")) == NULL) {
12- perror(fn);
13+ if (ENOENT == errno)
7681b472 14+ fprintf(stderr, _("Parsing SELinux file contexts skipped: %s: %s\n"), fn, strerror(errno));
212db802
AM
15+ else
16+ perror(fn);
17 return -1;
18 }
19
f1bbbb06 20
This page took 0.045305 seconds and 4 git commands to generate.