summaryrefslogtreecommitdiffhomepage
path: root/public/tools/open/src/CommandLine.cc
diff options
context:
space:
mode:
Diffstat (limited to 'public/tools/open/src/CommandLine.cc')
-rw-r--r--public/tools/open/src/CommandLine.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/public/tools/open/src/CommandLine.cc b/public/tools/open/src/CommandLine.cc
index 86282059..a2439e40 100644
--- a/public/tools/open/src/CommandLine.cc
+++ b/public/tools/open/src/CommandLine.cc
@@ -36,12 +36,9 @@ int main(int argc, char* argv[])
Char base_path[FILE_MAX_LEN] = OPEN_APP_BASE_PATH;
MmCopyMemory(base_path + MmStrLen(OPEN_APP_BASE_PATH), argv[i + 1], MmStrLen(argv[i + 1]));
- Bool ret = RtlSpawnProcess(base_path, 0, nullptr, nullptr, 0);
+ UIntPtr ret = RtlSpawnProcess(base_path, 0, nullptr, nullptr, 0);
- if (ret > 0)
- return EXIT_SUCCESS;
-
- break;
+ return ret;
}
}