check initseq->first in awx after running include()
authorFelix Fietkau <nbd@openwrt.org>
Thu, 29 Mar 2007 00:08:43 +0000 (00:08 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 29 Mar 2007 00:08:43 +0000 (00:08 +0000)
SVN-Revision: 6751

package/busybox/patches/920-awx.patch

index 146bd269a28d5ac8f207b1311b3f5d53c9a77229..251db6812616bdd0a1b3e4eadaa0960859f3a526 100644 (file)
@@ -355,7 +355,7 @@ diff -purN bb.old/editors/awx.c bb.dev/editors/awx.c
 +                      clear_array(ahash);
 +              }
 +      }
-+      if (initseq)
++      if (initseq && initseq->first)
 +              evaluate(initseq->first, &tv);
 +}
 +