HCoop
/
hcoop
/
scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
apache-sync-logs: Skip people who do not have keytabs
[hcoop/scripts.git]
/
apache-sync-logs
diff --git
a/apache-sync-logs
b/apache-sync-logs
index
6e83894
..
fdc2919
100755
(executable)
--- 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 "=============================================================================="