Permalink
Browse files

use STDIN for 'decode_secrets', if anybody uses the new SHELL script …

…from 'decoder' project (which doesn't support file name(s) on command line) in this place
  • Loading branch information...
PeterPawn committed Sep 15, 2017
1 parent e8ce880 commit 46ae03dd5d6a75be6702f0e210e515cb046a3147
Showing with 1 addition and 1 deletion.
  1. +1 −1 tffs/tbackup
View
@@ -21,7 +21,7 @@ backup()
if grep -q '$$$$[A-Z1-6]*' $td/cdev 2>/dev/null; then
if find_executable "decode_secrets"; then
printf "\x1B[5m decoding content\x1B[25m" 1>&2
decode_secrets $td/cdev >$td/$minor
decode_secrets <$td/cdev >$td/$minor
decoded=",decoded=1"
else
cat $td/cdev >$td/$minor

0 comments on commit 46ae03d

Please sign in to comment.