- fix incorrect status 'done' report on error (bnc #377995)
authorJan Kupec <jkupec@suse.cz>
Sun, 27 Apr 2008 19:00:32 +0000 (19:00 +0000)
committerJan Kupec <jkupec@suse.cz>
Sun, 27 Apr 2008 19:00:32 +0000 (19:00 +0000)
src/zypper-media-callbacks.h

index 1b9ec29..4bcc84e 100644 (file)
@@ -176,7 +176,8 @@ namespace ZmartRecipients
       if (_be_quiet)
         return;
 
-      Zypper::instance()->out().dwnldProgressEnd(uri, _last_drate_avg);
+      Zypper::instance()->out().dwnldProgressEnd(
+          uri, _last_drate_avg, error != NO_ERROR);
     }
 
   private: