[PC-BSD Commits] r16291 - pcbsd/current/src-qt4/warden/scripts/backend

svn at pcbsd.org svn at pcbsd.org
Mon Apr 9 08:49:54 PDT 2012


Author: kris
Date: 2012-04-09 15:49:54 +0000 (Mon, 09 Apr 2012)
New Revision: 16291

Modified:
   pcbsd/current/src-qt4/warden/scripts/backend/listjails.sh
Log:

Only display jails created via warden



Modified: pcbsd/current/src-qt4/warden/scripts/backend/listjails.sh
===================================================================
--- pcbsd/current/src-qt4/warden/scripts/backend/listjails.sh	2012-04-09 15:36:34 UTC (rev 16290)
+++ pcbsd/current/src-qt4/warden/scripts/backend/listjails.sh	2012-04-09 15:49:54 UTC (rev 16291)
@@ -28,6 +28,8 @@
   AUTO="Disabled" 
   STATUS="<unknown>"
 
+  if [ ! -d "${i}/etc/warden" ] ; then continue ; fi
+
   # Get the HostName
   if [ -e "${i}/etc/warden/host" ]
   then



More information about the Commits mailing list