diff options
author | Alexis211 <alexis211@gmail.com> | 2009-10-23 20:43:48 +0200 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-10-23 20:43:48 +0200 |
commit | 66630e4154b7c1c47d6223fe5a8607cd269446a0 (patch) | |
tree | 21995ed408e9ecbaba48f29ed67c91c4b0dad950 /Source/Kernel/Shell | |
parent | 48de0cd029b52f64f76345b6e1fdf3cde5c58de3 (diff) | |
download | Melon-66630e4154b7c1c47d6223fe5a8607cd269446a0.tar.gz Melon-66630e4154b7c1c47d6223fe5a8607cd269446a0.zip |
Some changes, and implemented rm in userland shell.
Diffstat (limited to 'Source/Kernel/Shell')
-rw-r--r-- | Source/Kernel/Shell/KernelShell-fs.class.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Kernel/Shell/KernelShell-fs.class.cpp b/Source/Kernel/Shell/KernelShell-fs.class.cpp index a13ae6e..f013f1b 100644 --- a/Source/Kernel/Shell/KernelShell-fs.class.cpp +++ b/Source/Kernel/Shell/KernelShell-fs.class.cpp @@ -81,8 +81,8 @@ void KernelShell::rm(Vector<String>& args) { if (args.size() == 1) *m_vt << "Error : no argument specified.\n"; for (u32int i = 1; i < args.size(); i++) { if (!VFS::remove(args[i], m_cwd)) { - *m_vt << "Error while removing file " << args[i] << "\n"; - } + *m_vt << "Error while removing file " << args[i] << "\n"; + } } } |