Browse Source

v.patch: fix #1488 (#1492)

Markus Metz 4 years ago
parent
commit
d6a1ec5fa9
1 changed files with 3 additions and 0 deletions
  1. 3 0
      vector/v.patch/main.c

+ 3 - 0
vector/v.patch/main.c

@@ -211,6 +211,9 @@ int main(int argc, char *argv[])
 		}
 		db_close_database_shutdown_driver(driver_in);
 	    }
+	    else {
+		G_fatal_error(_("Missing attribute table for vector map <%s>"), in_name);
+	    }
 
 	    /* Get the output table structure */
 	    if (i == 0 ) {