From 8821e20a8423ba82e38ec67bd52ba0efabd23c15 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Fri, 31 Aug 2012 14:20:47 +0400 Subject: [PATCH] e4rat default tiemout fixed. --- sbin/e4rat_finalize.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/sbin/e4rat_finalize.sh b/sbin/e4rat_finalize.sh index 30b64e2..dd2fa5e 100755 --- a/sbin/e4rat_finalize.sh +++ b/sbin/e4rat_finalize.sh @@ -2,6 +2,7 @@ let timeout=0`grep --color=NO '^[ \t]*timeout' /etc/e4rat.conf | head -n1 | sed 's~[^0-9]\+\([0-9]\+\).*~\1~'` +[ 0 -eq $timeout ] && timeout=120 sleep $timeout e4rat-collect -k