From c14f6fa4b9264e68a41c34ca7c1e062856f4baa6 Mon Sep 17 00:00:00 2001 From: mwolson_admin Date: Tue, 18 Dec 2007 13:56:04 -0500 Subject: [PATCH] apache-sync-logs: Skip people who do not have keytabs --- apache-sync-logs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apache-sync-logs b/apache-sync-logs index 6e83894..fdc2919 100755 --- a/apache-sync-logs +++ b/apache-sync-logs @@ -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 "==============================================================================" -- 2.20.1