Skip to contentSkip to conversation

sg-check-tested: Do not exit without printing results

PATCH New Ian Jackson 1 participant 1 message Jan 24, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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!

---
 sg-check-tested | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sg-check-tested +1 -1
index d13e1b4..bfb27e1 100755
@@ -204,7 +204,7 @@ END
 		}
 	    }
 	    output "$val1\n";
-	    exit 0;
+	    return;
 	}
     }
     print DEBUG "==========NO\n";
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel