diff options
Diffstat (limited to 'Source/Kernel/Shell/KernelShell.class.cpp')
-rw-r--r-- | Source/Kernel/Shell/KernelShell.class.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Kernel/Shell/KernelShell.class.cpp b/Source/Kernel/Shell/KernelShell.class.cpp index 8f71b9f..7f57f8b 100644 --- a/Source/Kernel/Shell/KernelShell.class.cpp +++ b/Source/Kernel/Shell/KernelShell.class.cpp @@ -128,8 +128,7 @@ u32int KernelShell::run() { String p = VFS::path(n); for (u32int i = 0; i < VFS::filesystems.size(); i++) { if (VFS::path(VFS::filesystems[i]->getRootNode()) == p) { - VFS::unmount(VFS::filesystems[i]); - ok = true; + ok = VFS::unmount(VFS::filesystems[i]); break; } } |