if (!isManagedAssembly(dllPath)) {
fprintf(stderr, "Input file is not a dll file : %s\n", dllPath.c_str());
- return-1;
+ return -1;
}
if (niExist(dllPath)) {
fprintf(stderr, "Already ni file is exist for %s\n", dllPath.c_str());
- return-1;
+ return -1;
}
std::string absDllPath = absolutePath(dllPath);
std::string absNiPath = getNiFileName(dllPath);
if (absNiPath.empty()) {
fprintf(stderr, "Fail to get ni file name\n");
- return-1;
+ return -1;
}
pid_t pid = fork();
if (pid == -1)
- return-1;
+ return -1;
if (pid > 0) {
int status;