OSDN Git Service

Small fix.
authorLoRd_MuldeR <mulder2@gmx.de>
Wed, 17 Oct 2018 19:42:28 +0000 (21:42 +0200)
committerLoRd_MuldeR <mulder2@gmx.de>
Wed, 17 Oct 2018 19:42:28 +0000 (21:42 +0200)
src/UpdateChecker.cpp

index 103c1ef..a044da2 100644 (file)
@@ -205,7 +205,7 @@ void MUtils::UpdateChecker::checkForUpdates(void)
        const int networkStatus = OS::network_status();
        if(networkStatus == OS::NETWORK_TYPE_NON)
        {
        const int networkStatus = OS::network_status();
        if(networkStatus == OS::NETWORK_TYPE_NON)
        {
-               if (!MUtils::OS::arguments().contains("--ignore-network-status"))
+               if (!MUtils::OS::arguments().contains("ignore-network-status"))
                {
                        log("Operating system reports that the computer is currently offline !!!");
                        setProgress(m_maxProgress);
                {
                        log("Operating system reports that the computer is currently offline !!!");
                        setProgress(m_maxProgress);