more missing errors
This commit is contained in:
parent
866f0f1874
commit
d2aed1ef6e
1 changed files with 8 additions and 0 deletions
8
main.cpp
8
main.cpp
|
@ -171,6 +171,10 @@ int main(int argc, char *argv[])
|
||||||
if (likely(!envExecutable.isEmpty())) {
|
if (likely(!envExecutable.isEmpty())) {
|
||||||
executable = QString::fromUtf8(envExecutable);
|
executable = QString::fromUtf8(envExecutable);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
QTextStream(stderr) << "Executable is not defined in environment, aborting!" << smsub_endl;
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
if (likely(!envArguments.isEmpty())) {
|
if (likely(!envArguments.isEmpty())) {
|
||||||
argumentList = parseStringArguments(QString::fromUtf8(envArguments));
|
argumentList = parseStringArguments(QString::fromUtf8(envArguments));
|
||||||
|
@ -179,6 +183,10 @@ int main(int argc, char *argv[])
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
QTextStream(stderr) << "Arguments are not defined in environment, aborting!" << smsub_endl;
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (unlikely(!envTimeout.isEmpty())) {
|
if (unlikely(!envTimeout.isEmpty())) {
|
||||||
|
|
Loading…
Reference in a new issue