From 4df3a14837857e40c2bc155a73a8f5e10f6c78c0 Mon Sep 17 00:00:00 2001 From: Yigang Wen Date: Wed, 14 Nov 2012 15:26:57 +0800 Subject: [PATCH] Modify SUDOV_PERIOD smaller, fix #526 By default, sudo keeps the password in "memory" for 5 minutes (at least on Fedora16 and openSUSE12.2). So if you build a big package, you need input password again while build going, otherwise you will get a chaos output. Change-Id: Icfaa36c9aac70ac40df4d64b34bd0c4ee0b4cca4 --- depanneur | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depanneur b/depanneur index b93b7ff..c0b25c8 100755 --- a/depanneur +++ b/depanneur @@ -63,7 +63,7 @@ use Data::Dumper; use File::Basename; # "sudo -v" period -use constant SUDOV_PERIOD => 300; +use constant SUDOV_PERIOD => 3*60; my @threads; my @exclude = (); -- 2.34.1