From: mwolson_admin Date: Tue, 18 Dec 2007 18:56:04 +0000 (-0500) Subject: apache-sync-logs: Skip people who do not have keytabs X-Git-Url: http://git.hcoop.net/clinton/scripts.git/commitdiff_plain/c14f6fa4b9264e68a41c34ca7c1e062856f4baa6?ds=sidebyside apache-sync-logs: Skip people who do not have keytabs --- 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 "=============================================================================="