move initialization of RMTAB before it is used (Ian Kent)
authorzoulasc <christos@zoulas.com>
Mon, 12 May 2014 15:15:00 +0000 (11:15 -0400)
committerzoulasc <christos@zoulas.com>
Mon, 12 May 2014 15:15:00 +0000 (11:15 -0400)
scripts/fixrmtab.in

index 8f57e31d2f98b6b512407b7fd1d4dca340de87a9..1289bc0ba21cfdb7fe0b5a409bd8289d1e0020be 100755 (executable)
 
 #set -x
 
+RMTAB=/etc/rmtab
 if [ ! -f "$RMTAB" ]; then
        exit 0
 fi
 
-RMTAB=/etc/rmtab
 TMP="$(mktemp ${RMTAB}.XXXXXX)"
 if [ -z "$TMP" ]; then
        exit 1