[PC-BSD Commits] r4656 - pcbsd/trunk/SoftwareManager
svn at pcbsd.org
svn at pcbsd.org
Thu Oct 15 09:55:29 PDT 2009
Author: kris
Date: 2009-10-15 09:55:29 -0700 (Thu, 15 Oct 2009)
New Revision: 4656
Modified:
pcbsd/trunk/SoftwareManager/softmanager-sysupdate.cpp
Log:
Fixed error message poping up on the SoftwareManager if the version of PC-BSD doesn't have any
available online updates on the server, and display the real error message if it does fail for some
other reason.
Modified: pcbsd/trunk/SoftwareManager/softmanager-sysupdate.cpp
===================================================================
--- pcbsd/trunk/SoftwareManager/softmanager-sysupdate.cpp 2009-10-15 15:14:17 UTC (rev 4655)
+++ pcbsd/trunk/SoftwareManager/softmanager-sysupdate.cpp 2009-10-15 16:55:29 UTC (rev 4656)
@@ -229,9 +229,9 @@
args << "/PCBSD/SystemUpdater/bin/readSysUpdates.sh" << Version;
// Check to see if the update download was successful and warn if not
- if ( sysFetchJob->error() != 0 )
+ if ( sysFetchJob->error() != 0 && sysFetchJob->error() != 101 )
{
- QMessageBox::warning( 0, tr("Update Error!"), tr("Could not contact the PC-BSD update server! Please check your internet connection or proxy settings under Configuration"), QMessageBox::Ok );
+ QMessageBox::warning( 0, tr("Checking for updates failed!"), sysFetchJob->errorString(), QMessageBox::Ok );
args << "NONE";
} else {
// Add the patchdata URL
More information about the Commits
mailing list