]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
remove $tempoutput in the scope we create it - else we end up with removing unbound...
authorPeter Palfrader <peter@palfrader.org>
Fri, 25 Sep 2009 09:12:16 +0000 (11:12 +0200)
committerPeter Palfrader <peter@palfrader.org>
Fri, 25 Sep 2009 09:12:16 +0000 (11:12 +0200)
modules/geodns/files/common/recvconf

index 05419c9096d98a45e134fc5f8c20727f48bb5303..dd9b57581a126455355b88ec9889029081ec5192 100755 (executable)
@@ -172,6 +172,7 @@ if [ -s "$tempscript" ]; then
            exit 1
        fi
     done < "$tempscript"
+    rm -f -- "$tempoutput"
 fi
 
 # Check for any leftover files here; if there are any, exit with an error and print the list
@@ -181,7 +182,6 @@ if [ ! -z "$(find . -type f)" ]; then
 fi
 
 rm -f -- "$temptar"
-rm -f -- "$tempoutput"
 rm -f -- "$tempscript"
 cd
 rm -rf -- "$tempdir"