]> diplodocus.org Git - nmh/commit
test/common.sh.in: Only rm(1) if the cd(1) succeeds.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 24 Sep 2017 12:12:46 +0000 (13:12 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 24 Sep 2017 12:12:46 +0000 (13:12 +0100)
commitb793b5e976e7ece3588f1d0e69c9fe8234278783
tree85aed5dc10dacad7c1393d2d41a074c84724d48e
parentf5bfa5864d2feef66948fde764c376b7a9f8b839
test/common.sh.in: Only rm(1) if the cd(1) succeeds.

The rm specified the full path anyway, but if the cd fails for some odd
reason then it's best not to continue.
test/common.sh.in