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