From 1b6454718a62217d6f1574c66d75e8a15cae4623 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Wed, 9 Oct 2024 14:00:10 +0900 Subject: [PATCH] =?utf8?q?=E5=BF=98=E3=82=8C=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/yankpass.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/yankpass.c b/src/yankpass.c index 4a46c74..0851f2c 100644 --- a/src/yankpass.c +++ b/src/yankpass.c @@ -6,6 +6,7 @@ #include "showpass.h" void yankpass(char *file, int copyTimeout) { + if (copyTimeout > 300) copyTimeout = 300; char *lang = getlang(); // Xセッションではない場合(例えば、SSH、TTY、Gayland等)、showpass()を実行して -- 2.43.0