Skip to content
This repository has been archived by the owner on Jan 20, 2023. It is now read-only.

Commit

Permalink
fix file not saved.
Browse files Browse the repository at this point in the history
  • Loading branch information
OSM-Made committed Jun 5, 2021
1 parent 72beb00 commit 5b0ab51
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions Loader/Kernel/source/kproc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ void test_thread(void* arg)
//Mount the dirs for ShellUI
Mount_Dirs(p, bkJail.fd_jdir, true);

/*klog("****Launching Toolbox...****");
klog("****Launching Toolbox...****");
if(Load_SPRX(p, SPRX_PATH))
klog("Launched Toolbox...");
else
klog("Failed to Launch Toolbox... Maybe you forgot to load HEN??");*/
klog("Failed to Launch Toolbox... Maybe you forgot to load HEN??");

//Restore previous jail.
RestoreJail(p, bkJail);
Expand Down Expand Up @@ -120,7 +120,7 @@ void test2_thread(void* arg)
Mount_Dirs(p, bkJail.fd_jdir, true);

klog("****Launching Toolbox...****");
//if(Load_SPRX(p, SPRX_PATH))
if(Load_SPRX(p, SPRX_PATH))
{
klog("Launched Toolbox Sucessfully.");

Expand All @@ -132,8 +132,8 @@ void test2_thread(void* arg)
ProcessExitEvent = EVENTHANDLER_REGISTER(process_exit, (void*)OnProcessExit, nullptr, EVENTHANDLER_PRI_ANY);
klog("Events Registered Sucessfully.");
}
//else
//klog("Failed to Launch Toolbox... Maybe you forgot to load HEN??");
else
klog("Failed to Launch Toolbox... Maybe you forgot to load HEN??");

//Restore previous jail.
RestoreJail(p, bkJail);
Expand Down
Loading

0 comments on commit 5b0ab51

Please sign in to comment.