diff options
author | r-paiva <rui.paiva.10@hotmail.com> | 2021-05-06 18:28:18 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-08 15:22:47 +0200 |
commit | 90b6f999e599548b83f0e310146c6121a7496c30 (patch) | |
tree | 8e9a9afefe51d06332553927f5d71811c0ec2439 /Kernel/DMI.cpp | |
parent | 2fe6242f155c26155cba6f7e23ac17c5f26cd014 (diff) | |
download | serenity-90b6f999e599548b83f0e310146c6121a7496c30.zip |
Utilities: Fix mv command requesting incorrect path
When moving multiple files by using *, e.g.,: mv * /new_path/
If there was an error while trying to move a file to the new path
the next file in the file list to be moved would have its path
incorrectly set.
- Fixed mv loop to always append the correct path to the destination
path.
- Added proper error message when mv fails.
Diffstat (limited to 'Kernel/DMI.cpp')
0 files changed, 0 insertions, 0 deletions