File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ namespace sua {
160
160
std::string DBusRaucInstaller::getBundleVersion ()
161
161
{
162
162
std::string bundleVersion = getDBusRaucBundleVersion ();
163
+ g_main_context_iteration (g_main_loop_get_context (loop), FALSE );
163
164
164
165
if (bundleVersion == VERSION_UNAVAILABLE) {
165
166
bundleVersion = getOsVersionId ();
@@ -169,7 +170,10 @@ namespace sua {
169
170
170
171
std::string DBusRaucInstaller::getBundleVersion (const std::string& input)
171
172
{
172
- return getDBusRaucBundleVersion (input);
173
+ std::string bundleVersion = getDBusRaucBundleVersion (input);
174
+ g_main_context_iteration (g_main_loop_get_context (loop), FALSE );
175
+
176
+ return bundleVersion;
173
177
}
174
178
175
179
void DBusRaucInstaller::subscribeDBusSignals ()
@@ -439,7 +443,7 @@ namespace sua {
439
443
connectionError->message );
440
444
}
441
445
442
- Logger::trace (" Retrieved version of the incoming bundle is: {} " , bundleVersion);
446
+ Logger::trace (" Retrieved version of the incoming bundle is: '{}' " , bundleVersion);
443
447
return bundleVersion;
444
448
}
445
449
You can’t perform that action at this time.
0 commit comments