summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-17 12:10:59 +0100
committerErich Eckner <git@eckner.net>2020-01-17 12:10:59 +0100
commit3484307e952d176b8d377ce1acd2ec0c18559fc4 (patch)
treee3577460d793b852372da80499564cf486d5ec91
parent380dc77d04abf4fdfcada6c5cbf3b416649a036b (diff)
downloadupdate-ddns-3484307e952d176b8d377ce1acd2ec0c18559fc4.tar.xz
update-ddns: `cd /` at the beginning to not block the cwd
-rw-r--r--update-ddns.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/update-ddns.in b/update-ddns.in
index bd86294..9038819 100644
--- a/update-ddns.in
+++ b/update-ddns.in
@@ -2,6 +2,8 @@
# version #VERSION#
+cd /
+
stty &> /dev/null || \
sleep $[$RANDOM%60]