From 100dd6caa3e119abb75c6fb16855959dde4bd11e Mon Sep 17 00:00:00 2001 From: Joachim Breitner Date: Thu, 30 Jul 2009 13:55:09 +0200 Subject: [PATCH] Write a line even without a Previous-State --- bin/wanna-build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/wanna-build b/bin/wanna-build index 277273c..48b350f 100755 --- a/bin/wanna-build +++ b/bin/wanna-build @@ -1889,6 +1889,8 @@ sub list_packages { print " Previous state was $pkg->{'Previous-State'} until ", "$pkg->{'State-Change'}\n" if $verbose && $pkg->{'Previous-State'}; + print " No previous state recorded\n" + if $verbose && !$pkg->{'Previous-State'}; print " Previous failing reasons:\n ", join("\n ",split("\n",$pkg->{'Old-Failed'})), "\n" if $verbose && $pkg->{'Old-Failed'}; -- 2.39.5