aboutsummaryrefslogtreecommitdiffstats
path: root/daily-psk.template
diff options
context:
space:
mode:
Diffstat (limited to 'daily-psk.template')
-rw-r--r--daily-psk.template4
1 files changed, 3 insertions, 1 deletions
diff --git a/daily-psk.template b/daily-psk.template
index 4cb7cd2..dfbac13 100644
--- a/daily-psk.template
+++ b/daily-psk.template
@@ -10,9 +10,10 @@
:global Identity;
:global DailyPskMatchComment;
-:global UrlEncode;
:global SendNotification;
+:global UrlEncode;
+:global WaitForFile;
:local Seen [ :toarray "" ];
@@ -82,6 +83,7 @@
:do {
/ tool fetch check-certificate=yes-without-crl \
$Url dst-path=$Attach;
+ $WaitForFile $Attach;
} on-error={
:set Attach "";
}