Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli: use Rust std library to get path to current exe
✗ CI failure Lars Wirzenius committed 2 years ago
commit c5718ba9eaac602f61f5de2651610d1cf47dbf75
parent 064ece32ac0a0bd0efe4f459dcb0462bafc236e6
1 passed 2 failed (3 total) View logs
1 file changed +1 -1
modified radicle-cli/src/commands/debug.rs
@@ -68,7 +68,7 @@ fn debug(profile: &Profile) -> anyhow::Result<()> {
    }));

    let debug = DebugInfo {
-
        rad_exe: if let Ok(filename) = std::fs::read_link("/proc/self/exe") {
+
        rad_exe: if let Ok(filename) = std::env::current_exe() {
            Some(filename)
        } else {
            None