mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-17 12:32:57 +03:00
Update blockcheck.sh
This commit is contained in:
parent
f7b06c3cf3
commit
b8e4c04c00
@ -1851,8 +1851,9 @@ ask_params()
|
||||
[ -n "$ENABLE_SAVE_TO_FILE" ] || {
|
||||
ENABLE_SAVE_TO_FILE=0
|
||||
[ "$BATCH" = 1 ] || {
|
||||
REPORTFILE_NAME=$(echo $DOMAINS | tr " " "_")
|
||||
echo
|
||||
echo "Will duplicate report to '${DOMAINS}.txt' if enabled"
|
||||
echo "Will duplicate report to '$REPORTFILE_NAME.txt' if enabled"
|
||||
echo "Not recomended if you have little free disk space"
|
||||
ask_yes_no_var ENABLE_SAVE_TO_FILE "enable save report"
|
||||
}
|
||||
@ -2133,7 +2134,7 @@ cleanup
|
||||
echo
|
||||
echo \* SUMMARY
|
||||
report_print
|
||||
[ "$ENABLE_SAVE_TO_FILE" = 1 ] && report_print > "$ZAPRET_BASE/$DOMAINS.txt"
|
||||
[ "$ENABLE_SAVE_TO_FILE" = 1 ] && report_print > "$ZAPRET_BASE/$REPORTFILE_NAME.txt"
|
||||
echo
|
||||
echo "Please note this SUMMARY does not guarantee a magic pill for you to copy/paste and be happy."
|
||||
echo "Understanding how strategies work is very desirable."
|
||||
|
Loading…
x
Reference in New Issue
Block a user