]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-context.patch
- %addusertogroup macro for RPM
[packages/rpm.git] / rpm-context.patch
1 Index: rpmsx.c
2 ===================================================================
3 RCS file: /cvs/devel/rpm/lib/rpmsx.c,v
4 retrieving revision 2.6
5 diff -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)
14 +           fprintf(stderr, _("Parsing SELinux file contexts skipped: %s: %s\n"), fn, strerror(errno));
15 +       else
16 +           perror(fn);
17         return -1;
18      }
19  
20
This page took 0.028098 seconds and 3 git commands to generate.