jilles 515d466527 sh: Ignore error when cd writes the directory actually switched to.
If CDPATH is used non-trivially or the operand is "-", cd writes the
directory actually switched to. (We currently do this only in interactive
shells, but POSIX requires this in non-interactive shells as well.)

As mentioned in Austin group bug #1045, cd shall not return an error while
leaving the current directory changed. Therefore, ignore any write error.
2017-06-25 21:53:08 +00:00
..
2017-06-06 21:50:00 +00:00
2017-06-07 05:33:56 +00:00
2017-06-23 15:02:49 +00:00
2017-06-20 20:50:54 +00:00
2017-06-05 16:00:10 +00:00
2017-05-07 11:44:25 +00:00