Browse Source

Delete freedns file after use

Bob Mottram 7 years ago
parent
commit
fa1e8e5814
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/freedombone-freedns

+ 3
- 0
src/freedombone-freedns View File

@@ -71,6 +71,9 @@ do
71 71
         echo $"command: $FREEDNS_WGET${code}="
72 72
         $FREEDNS_WGET${code}=
73 73
     else
74
+        if [ -f /tmp/freedns ]; then
75
+            rm /tmp/freedns
76
+        fi
74 77
         $FREEDNS_WGET${code}= >> /tmp/freedns 2>&1
75 78
     fi
76 79
 done