[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH] sg-check-tested: Do not exit without printing results



In fd2fbb9171f12d5f45e952e2915f3e00bcaacc1a
  "sg-check-tested: Lift work into new `search' sub, and indirect output"
I missed an `exit 0'.

As a result sg-check-tested --print-revision= would never print anything!

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 sg-check-tested | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sg-check-tested b/sg-check-tested
index d13e1b4..bfb27e1 100755
--- a/sg-check-tested
+++ b/sg-check-tested
@@ -204,7 +204,7 @@ END
                }
            }
            output "$val1\n";
-           exit 0;
+           return;
        }
     }
     print DEBUG "==========NO\n";
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.