aboutsummaryrefslogtreecommitdiffstats
path: root/src/export_fun.rs
diff options
context:
space:
mode:
authorJonas Maier <jonas@x77.dev>2026-03-10 10:00:59 +0100
committerJonas Maier <jonas@x77.dev>2026-03-10 10:00:59 +0100
commitd10a1b087458bad2b5dbcc7ee96518c3b3f674ec (patch)
treed5c3981fe669919bdbcba9c49325209171810f17 /src/export_fun.rs
parent5d8d9f07669cdc8ac17c866edb6a8c07bbe4221c (diff)
downloadpish-d10a1b087458bad2b5dbcc7ee96518c3b3f674ec.tar.gz
rework command executor
Diffstat (limited to 'src/export_fun.rs')
-rw-r--r--src/export_fun.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/export_fun.rs b/src/export_fun.rs
index 0e0f33a..3c0f1c9 100644
--- a/src/export_fun.rs
+++ b/src/export_fun.rs
@@ -90,8 +90,8 @@ fn handle_server(session: Arc<Mutex<Session>>, mut stream: UnixStream) -> io::Re
let exit_code = match res {
Ok(_) => 0,
Err(e) => match e {
- crate::run::ExecError::UnknownVariable(_) => -3,
crate::run::ExecError::ExecError(x) => x,
+ _ => -3,
},
};