Skip to content

Commit dac1928

Browse files
author
Jethro Beekman
committed
ftxsgx-runner: output to stderr in case of enclave abort
1 parent c38cd86 commit dac1928

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)