Return 1 to shell on error
parent
54be2b85f5
commit
de7531424b
|
@ -67,10 +67,12 @@ IN: bootstrap.stage2
|
||||||
[
|
[
|
||||||
boot
|
boot
|
||||||
do-init-hooks
|
do-init-hooks
|
||||||
[ parse-command-line ] try
|
[
|
||||||
[ run-user-init ] try
|
parse-command-line
|
||||||
[ "run" get run ] try
|
run-user-init
|
||||||
stdio get [ stream-flush ] when*
|
"run" get run
|
||||||
|
stdio get [ stream-flush ] when*
|
||||||
|
] [ print-error 1 exit ] recover
|
||||||
] set-boot-quot
|
] set-boot-quot
|
||||||
|
|
||||||
: count-words all-words swap subset length pprint ;
|
: count-words all-words swap subset length pprint ;
|
||||||
|
|
Loading…
Reference in New Issue