forked from dan/liminix
1
0
Fork 0

fennel: system: verbose log of command that was run

This commit is contained in:
Daniel Barlow 2024-02-21 19:27:14 +00:00
parent 9b0149ecb7
commit 84fa8d65f4
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
(fn system [s]
(match (os.execute s)
res res
res (do (print (.. "Executed \"" s "\", exit code " (tostring res))) res)
(nil err) (error (.. "Error executing \"" s "\" (" err ")"))))
(fn hash [str]