16 lines
446 B
Diff
16 lines
446 B
Diff
|
Deal with a return value of "-2" when database locking failed.
|
||
|
|
||
|
--- ./lib/rpminstall.c.orig 2005-12-14 21:01:09.000000000 +0000
|
||
|
+++ ./lib/rpminstall.c 2005-12-15 14:47:35.000000000 +0000
|
||
|
@@ -599,6 +611,10 @@ if (fileURL[0] == '=') {
|
||
|
eiu->numFailed++;
|
||
|
goto exit;
|
||
|
/*@notreached@*/ /*@switchbreak@*/ break;
|
||
|
+ default:
|
||
|
+ eiu->numFailed++;
|
||
|
+ goto exit;
|
||
|
+ /*@notreached@*/ /*@switchbreak@*/ break;
|
||
|
}
|
||
|
|
||
|
eiu->numRPMS++;
|