From 821a5eacd870f5f9482875cb07b2e5eecd9231a1 Mon Sep 17 00:00:00 2001 From: Kamen Mladenov Date: Fri, 7 Mar 2025 09:48:15 +0200 Subject: fix(zkvms_guest_io): Remove unnecessary panicking on failed command --- zkvms_guest_io/src/main.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'zkvms_guest_io') diff --git a/zkvms_guest_io/src/main.rs b/zkvms_guest_io/src/main.rs index 4f4db75..86e8dde 100644 --- a/zkvms_guest_io/src/main.rs +++ b/zkvms_guest_io/src/main.rs @@ -64,12 +64,7 @@ fn main() { print!("== Executing {} ==\n{}", guest, stdout); if !output.status.success() { - // Make sure we print a message before failing - // There could be a race condition, where we fail, then while - // panic is doing it's thing, the main thread exits. - println!("Program didn't exist successfully!"); fail.store(true, Ordering::Relaxed); - panic!(); } }) .expect("failed to spawn thread"), -- cgit v1.2.3