Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
fix: if there's an error, exit non-zero
Lars Wirzenius committed 2 years ago
commit 6897866977dceb9419993f284ad9ad61981db5e9
parent f74baba14d38610c5b82d7ae2088d8251b8304a3
1 file changed +2 -0
modified src/bin/ci-broker.rs
@@ -1,6 +1,7 @@
use std::{
    error::Error,
    path::PathBuf,
+
    process::exit,
    thread::{sleep, spawn},
    time::Duration,
};
@@ -26,6 +27,7 @@ fn main() {
            eprintln!("caused by: {}", source);
            e = source.source();
        }
+
        exit(1);
    }
}