Explorar el Código

Delete freedns file after use

Bob Mottram hace 7 años
padre
commit
fa1e8e5814
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3
    0
      src/freedombone-freedns

+ 3
- 0
src/freedombone-freedns Ver fichero

@@ -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