From: Nicolas Boisselier Date: Thu, 9 Jul 2015 13:55:07 +0000 (+0100) Subject: mn-update X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=3e3ba9bb94b79f776793900f5c922277787d55df;p=nb.git mn-update --- diff --git a/bin/nb-update b/bin/nb-update index 79a35d5f..d756fd37 100755 --- a/bin/nb-update +++ b/bin/nb-update @@ -38,9 +38,9 @@ for repo in \ echo ">git pull $repo (user=$user)" if [ "$USER" == "$user" ]; then - git pull + timeout 30 git pull else - timeout 10 su $user -c "cd \"$repo\" && git pull" + timeout 30 su $user -c "cd \"$repo\" && git pull" fi ret=$?