]>
Commit | Line | Data |
---|---|---|
ccfcbb07 ER |
1 | +--------------------------------------------------------------------------- |
2 | | Make sure that an %{error:<msg>} macro really stops further | |
3 | | processing. Else it would be nothing more than a %{warn:<msg>}. | |
4 | +--------------------------------------------------------------------------- | |
cec5ed10 ER |
5 | --- rpm-4.4.2/rpmio/macro.c~ 2007-03-07 18:50:42.754005171 +0200 |
6 | +++ rpm-4.4.2/rpmio/macro.c 2007-03-07 18:55:51.040958707 +0200 | |
7 | @@ -1380,7 +1380,7 @@ | |
ccfcbb07 ER |
8 | STREQ("error", f, fn)) { |
9 | int waserror = 0; | |
10 | if (STREQ("error", f, fn)) | |
11 | - waserror = 1; | |
12 | + waserror = 1, rc = 1; | |
cec5ed10 | 13 | if (g != NULL && g < ge) |
ccfcbb07 ER |
14 | doOutput(mb, waserror, g, gn); |
15 | else |