Index: xsensors-0.70/src/main.c
===================================================================
--- xsensors-0.70.orig/src/main.c	2010-01-15 12:24:51.000000000 -0700
+++ xsensors-0.70/src/main.c	2012-07-17 19:52:50.751737841 -0700
@@ -121,6 +121,14 @@
         return EXIT_FAILURE;
     }
 
+    /* Check if any sensors have been set up*/
+    int first_chip = 0;
+    if ( sensors_get_detected_chips( NULL, &first_chip ) == NULL ) {
+	fprintf( stderr, "No sensors found. "
+			"Please run 'sensors-detect' as root.\n" );
+	return EXIT_FAILURE;
+    }
+
     /* This will start the GUI. */
     if ( start_gui( argc, argv ) != SUCCESS ) {
         fprintf( stderr, "GUI failed!\n" );
