Skip to content

Commit

Permalink
Don't hide stderr in decrypt
Browse files Browse the repository at this point in the history
Without stderr it can be very difficult to debug problems resulting from
this (like the wrong arn, for example)
  • Loading branch information
novas0x2a committed Jun 29, 2017
1 parent 917fb96 commit a9a525d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ decrypt_helm_vars() {
if [ -f "$file" ];
then
echo -e "${YELLOW}>>>>>>${NOC} ${BLUE}Decrypt${NOC}"
"$HELM_CMD" secrets dec "$file" 2>/dev/null
"$HELM_CMD" secrets dec "$file"
(( COUNT_FILES++ ))
else
(( COUNT_FILES_FAILED++ ))
Expand All @@ -85,7 +85,7 @@ then
do
if [[ "$file" =~ $MATCH_FILES_ARGS ]];
then
"$HELM_CMD" secrets clean "${file}${DEC_SUFFIX}" 2>/dev/null
"$HELM_CMD" secrets clean "${file}${DEC_SUFFIX}"
fi
done
fi
Expand Down

0 comments on commit a9a525d

Please sign in to comment.