Skip to content

Commit 6a45323

Browse files
committed
Bump rsx
1 parent e0520be commit 6a45323

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/rsx.risor

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,13 @@ func shell(command) {
1313
cmd.run()
1414
}, func() { err = true })
1515

16+
if err {
17+
error('error {string(buf)}')
18+
}
19+
1620
return string(buf)
1721
}
22+
func sh(command) { return shell(command) }
1823

1924
func log(msg) {
2025
print(msg)

0 commit comments

Comments
 (0)