apache-sync-logs: Skip people who do not have keytabs
authormwolson_admin <mwolson_admin@deleuze.hcoop.net>
Tue, 18 Dec 2007 18:56:04 +0000 (13:56 -0500)
committermwolson_admin <mwolson_admin@deleuze.hcoop.net>
Tue, 18 Dec 2007 18:56:04 +0000 (13:56 -0500)
apache-sync-logs

index 6e83894..fdc2919 100755 (executable)
@@ -33,6 +33,11 @@ for A in $(find $LOCAL_LOG_DIR -mindepth 3 -maxdepth 3 -print); do
         continue
     fi
 
+    # Skip people who do not have keytabs
+    if test ! -f "$KEYTAB_DIR/$USER"; then
+        continue
+    fi
+
     if test "$VERBOSE" = "true"; then
         echo
         echo "=============================================================================="