Skip to content

Commit bd38fc1

Browse files
bors[bot]Jethro Beekman
and
Jethro Beekman
committed
Merge #135
135: ftxsgx-runner: output to stderr in case of enclave abort r=akash-fortanix a=jethrogb Co-authored-by: Jethro Beekman <[email protected]>
2 parents c38cd86 + dac1928 commit bd38fc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fortanix-sgx-tools/src/bin/ftxsgx-runner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ fn main() -> Result<(), Error> {
5959
let enclave = enclave_builder.build(&mut device).context("While loading SGX enclave")?;
6060

6161
enclave.run().map_err(|e| {
62-
println!("Error while executing SGX enclave.\n{}", e);
62+
eprintln!("Error while executing SGX enclave.\n{}", e);
6363
std::process::exit(-1)
6464
})
6565
}

0 commit comments

Comments
 (0)