Skip to content

Commit

Permalink
fix macos big sur issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gkovacs committed Feb 4, 2021
1 parent d6364b6 commit e2eb0fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unetbootin/main.cpp
Expand Up @@ -369,7 +369,7 @@ int main(int argc, char **argv)
process.waitForFinished(-1); // will wait forever until finished
QString stdout = QString(process.readAllStandardOutput()).trimmed();
bool is_mojave_or_above = false;
if (stdout.count('.') == 2) {
if (stdout.count('.') >= 1) {
QStringList version_parts = stdout.split('.');
int major_version = version_parts[0].toInt();
int sub_version = version_parts[1].toInt();
Expand Down

0 comments on commit e2eb0fe

Please sign in to comment.