From 3fd41b6d8135c94410db15e9fb14c5ea6c64b52a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20K=C3=A1rolyi?= Date: Thu, 18 Nov 2021 11:23:02 +0100 Subject: [PATCH] Add verbose message when nothing to revalidate --- tools/pkgmirror-jailrevalidator.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/pkgmirror-jailrevalidator.py b/tools/pkgmirror-jailrevalidator.py index 37f4de0..6f70990 100755 --- a/tools/pkgmirror-jailrevalidator.py +++ b/tools/pkgmirror-jailrevalidator.py @@ -235,6 +235,8 @@ def run(): if to_revalidate: if _revalidate_packages(to_revalidate=to_revalidate, args=args): return + elif args.verbose: + logger.info(msg='Nothing to revalidate.') exit(1)