diff options
| author | Jonas Maier <jonas@x77.dev> | 2026-03-10 10:00:59 +0100 |
|---|---|---|
| committer | Jonas Maier <jonas@x77.dev> | 2026-03-10 10:00:59 +0100 |
| commit | d10a1b087458bad2b5dbcc7ee96518c3b3f674ec (patch) | |
| tree | d5c3981fe669919bdbcba9c49325209171810f17 /src/export_fun.rs | |
| parent | 5d8d9f07669cdc8ac17c866edb6a8c07bbe4221c (diff) | |
| download | pish-d10a1b087458bad2b5dbcc7ee96518c3b3f674ec.tar.gz | |
rework command executor
Diffstat (limited to 'src/export_fun.rs')
| -rw-r--r-- | src/export_fun.rs | 2 |
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, }, }; |
