Index: /trunk/xcache.c
===================================================================
--- /trunk/xcache.c	(revision 1028)
+++ /trunk/xcache.c	(revision 1029)
@@ -2162,5 +2162,5 @@
 	 || strstr(PG(include_path), "://") != NULL
 #endif
-	 || xc_shm || xc_shm->disabled
+	 || !xc_shm || xc_shm->disabled
 	 ) {
 		TRACE("%s", "cacher not enabled");
