commit 97bfa84664dfa183e3b76f9b0e0d162d398d5f98 parent a48deaf3f3161d3fdd8077c6cddccd4c80327274 Author: Drew DeVault <sir@cmpwn.com> Date: Sat, 6 Mar 2021 14:57:36 -0500 execute: make more apparent that check is returned Diffstat:
M | main.ha | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.ha b/main.ha @@ -102,5 +102,5 @@ fn execute( let proc = exec::start(&cmd)?; let st = exec::wait(&proc)?; - exec::check(&st)?; + return exec::check(&st)?; };