From e5fb41afdef253d05c33a21ab2b1443fa703215a Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 25 Sep 2009 11:12:16 +0200 Subject: [PATCH] remove $tempoutput in the scope we create it - else we end up with removing unbound variables sometimes --- modules/geodns/files/common/recvconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/geodns/files/common/recvconf b/modules/geodns/files/common/recvconf index 05419c90..dd9b5758 100755 --- a/modules/geodns/files/common/recvconf +++ b/modules/geodns/files/common/recvconf @@ -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" -- 2.39.2