소스 검색

v.patch: fix #1488 (#1492)

Markus Metz 4 년 전
부모
커밋
f190e2d1de
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      vector/v.patch/main.c

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

@@ -217,6 +217,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 ) {