[pve-devel] r5403 - vncterm/pve2

svn-commits at proxmox.com svn-commits at proxmox.com
Thu Jan 20 11:12:31 CET 2011


Author: dietmar
Date: 2011-01-20 11:12:31 +0100 (Thu, 20 Jan 2011)
New Revision: 5403

Modified:
   vncterm/pve2/genfont.c
Log:
fail if package console-data is not installed (missing fonts)


Modified: vncterm/pve2/genfont.c
===================================================================
--- vncterm/pve2/genfont.c	2011-01-20 07:26:59 UTC (rev 5402)
+++ vncterm/pve2/genfont.c	2011-01-20 10:12:31 UTC (rev 5403)
@@ -86,8 +86,8 @@
  
   gzFile *f = gzopen (filename, "rb");
   if (f == NULL) {
-    perror ("unable to read file");
-    return -1;
+	  fprintf (stderr, "unable to read file %s\n", filename);
+	  exit(-1);
   }
 
   // read psf header




More information about the pve-devel mailing list