Skip to content
Snippets Groups Projects
Commit 6926f239 authored by Teo Mrnjavac's avatar Teo Mrnjavac
Browse files

Write hasInternet into GlobalStorage.

parent e3282a91
No related branches found
No related tags found
No related merge requests found
/* === This file is part of Calamares - <http://github.com/calamares> === /* === This file is part of Calamares - <http://github.com/calamares> ===
* *
* Copyright 2014-2015, Teo Mrnjavac <teo@kde.org> * Copyright 2014-2016, Teo Mrnjavac <teo@kde.org>
* *
* Calamares is free software: you can redistribute it and/or modify * Calamares is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
...@@ -337,7 +337,10 @@ RequirementsChecker::checkHasInternet() ...@@ -337,7 +337,10 @@ RequirementsChecker::checkHasInternet()
return true; return true;
} }
return nmState == NM_STATE_CONNECTED_GLOBAL; bool hasInternet = nmState == NM_STATE_CONNECTED_GLOBAL;
Calamares::JobQueue::instance()->globalStorage()->insert( "hasInternet", hasInternet );
return hasInternet;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment