- Fixed mix-up of return codes and error codes, and calling of SetIoErr()
commit9b58425afdb5d4692fbf7750908c6d42572c687f
authorneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Fri, 10 Aug 2012 00:11:34 +0000 (10 00:11 +0000)
committerneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Fri, 10 Aug 2012 00:11:34 +0000 (10 00:11 +0000)
tree0dc6e46e356df10c49e0fdb8a57896a7864b581b
parentc912ae7da638811c7d7bc7165ff68105427dc4aa
 - Fixed mix-up of return codes and error codes, and calling of SetIoErr()
   before end of command.
 - Removed code duplication.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@45421 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
workbench/c/shellcommands/CD.c