Commit 5d6278ff authored by Leigh Stoller's avatar Leigh Stoller

Add routine to get back the last exec error.

parent 6ef50577
......@@ -785,6 +785,13 @@ sub PrintLastOutput() {
print "--------------------------------------------------------------\n";
}
sub LastOutput() {
if (!$libinstall::lastCommand) {
return ();
}
return @libinstall::lastExecOutput;
}
#
# Get me a secret
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment