From 67290441b80fa813a472767353095425c78805af Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Tue, 6 Dec 2011 23:39:09 -0500 Subject: contrib/paccache: silence possible output from cd If CDPATH is set, this could possibly write to stdout. Signed-off-by: Dave Reisner Signed-off-by: Dan McGee --- contrib/paccache.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/paccache.in b/contrib/paccache.in index eae547dc..a9e5bfbc 100755 --- a/contrib/paccache.in +++ b/contrib/paccache.in @@ -261,7 +261,7 @@ if (( move || delete )); then fi # unlikely that this will fail, but better make sure -cd "$cachedir" || die "failed to chdir to \`%s'" "$cachedir" +cd "$cachedir" >/dev/null || die "failed to chdir to \`%s'" "$cachedir" # note that these results are returned in an arbitrary order from awk, but # they'll be resorted (in summarize) iff we have a verbosity level set. -- cgit v1.2.3-24-g4f1b