aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bin/update-userinfo.sh')
-rwxr-xr-xbin/update-userinfo.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/update-userinfo.sh b/bin/update-userinfo.sh
index d2121be..613db4b 100755
--- a/bin/update-userinfo.sh
+++ b/bin/update-userinfo.sh
@@ -3,8 +3,8 @@
echo -n 'Updating LDAP user information...'
if [[ $(hostname -f) == *'gentoo.org'* ]] || [[ "$FORCE" == '1' ]]; then
- bin/userinfo-export.rb > _data/userinfo.json
+ timeout 180 bin/userinfo-export.rb > _data/userinfo.json
echo 'done.'
else
echo 'skipped (not a gentoo.org box, assuming no LDAP available, set FORCE=1 to override).'
-fi \ No newline at end of file
+fi