Merge pull request #45 from dotnet/update_ni_common_to_handle_exe_extension
[platform/core/dotnet/launcher.git] / NativeLauncher / installer-plugin / ni_common.cc
index 4b5fe3d..cd2c473 100644 (file)
@@ -138,24 +138,24 @@ static int crossgen(const std::string& dllPath, const std::string& appPath, bool
 
        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;