runshell: Fix a edge case where rm errors were sent to stdout, which could confuse things parsing git-annex output.

This commit is contained in:
Joey Hess 2020-10-05 12:44:40 -04:00
parent 3363cc7515
commit cd9a60bc7d
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,9 @@
[[!comment format=mdwn
username="joey"
subject="""comment 2"""
date="2020-10-05T16:43:02Z"
content="""
Fixed the rm to not redirect errors to stdout. Traced back to a8a0f7fc58
which involved a case where the rm was failing due to perms, so the intent
must have been to also send stdout to /dev/null, but that was omitted then.
"""]]