Must call getl_reading_script() to get proper value.
authorBen Pfaff <blp@gnu.org>
Thu, 26 Jan 2006 05:24:02 +0000 (05:24 +0000)
committerBen Pfaff <blp@gnu.org>
Thu, 26 Jan 2006 05:24:02 +0000 (05:24 +0000)
src/error.c

index 4caa44777624640d7abe55380f51ec8221825db6..1213b1a3c526369f545a009ea61467245667dc78 100644 (file)
@@ -102,7 +102,7 @@ err_failure (void)
 void
 err_cond_fail (void)
 {
-  if (getl_reading_script)
+  if (getl_reading_script ())
     {
       if (getl_interactive)
        getl_close_all ();