summaryrefslogtreecommitdiff
path: root/Source/Kernel/Shell
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-11-15 17:42:07 +0100
committerAlexis211 <alexis211@gmail.com>2009-11-15 17:42:07 +0100
commitca1b573ef87498595a30b757d6d9c66d12d14ae6 (patch)
tree6fa043fd75c83910737c3701c0147bde782fefdf /Source/Kernel/Shell
parent21bfca4ad4b84768f05eb4fa2bc0ad7a76b6c536 (diff)
downloadMelon-ca1b573ef87498595a30b757d6d9c66d12d14ae6.tar.gz
Melon-ca1b573ef87498595a30b757d6d9c66d12d14ae6.zip
Reading from the FAT12-formatted floppy works \o
Diffstat (limited to 'Source/Kernel/Shell')
-rw-r--r--Source/Kernel/Shell/KernelShell.class.cpp3
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;
}
}