From 3e3ba9bb94b79f776793900f5c922277787d55df Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Thu, 9 Jul 2015 14:55:07 +0100 Subject: [PATCH] mn-update --- bin/nb-update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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=$? -- 2.47.3