commit fb00b7e3f7e7ed6e4b1b9357b5e9b98efced5bd5
parent 1bfb2e6dee850c675a8831b41420800d3c62c2a0
Author: Drew DeVault <sir@cmpwn.com>
Date: Thu, 28 Apr 2022 13:20:34 +0000
os::exec: fix error handling
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/os/exec/cmd.ha b/os/exec/cmd.ha
@@ -77,7 +77,7 @@ export @noreturn fn exec(cmd: *command) void = {
export fn start(cmd: *command) (error | process) = {
defer finish(cmd);
match (platform_start(cmd)) {
- case let err: errors::opaque =>
+ case let err: errors::error =>
return err;
case let proc: process =>
return proc;