aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs3
1 files changed, 1 insertions, 2 deletions
diff --git a/URPM.xs b/URPM.xs
index 8bd0b61..fb49bde 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -136,9 +136,8 @@ static const void* unused_variable(const void *p) {
static int rpmError_callback_data;
void rpmError_callback() {
- if (rpmErrorCode() != RPMERR_UNLINK && rpmErrorCode() != RPMERR_RMDIR) {
+ if (rpmErrorCode() != RPMERR_UNLINK && rpmErrorCode() != RPMERR_RMDIR)
write_nocheck(rpmError_callback_data, rpmlogMessage(), strlen(rpmlogMessage()));
- }
}
/* needed for importing keys (from rpmio) */