]> gitweb.factorcode.org Git - factor.git/commitdiff
Returning from boot quotation wouldn't exit Factor if run loop MX was in use
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Sat, 13 Dec 2008 10:10:39 +0000 (04:10 -0600)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Sat, 13 Dec 2008 10:10:39 +0000 (04:10 -0600)
basis/bootstrap/finish-bootstrap.factor
basis/bootstrap/finish-staging.factor
basis/tools/deploy/shaker/shaker.factor

index 133b64acaa425dd11598dd773baae24dc9924668..36f6291bc6f7bb31ca9617184182ad7a11c00919 100644 (file)
@@ -12,5 +12,6 @@ namespaces eval kernel vocabs.loader io ;
         ignore-cli-args? not script get and
         [ run-script ] [ "run" get run ] if*
         output-stream get [ stream-flush ] when*
+        0 exit
     ] [ print-error 1 exit ] recover
 ] set-boot-quot
index a60ce04e15ad3aa1bcfec4720b9c2888db6dbffb..49f504fd41441d34f148171aefb5c9f3a43f70b4 100644 (file)
@@ -7,4 +7,5 @@ io ;
     (command-line) parse-command-line
     "run" get run
     output-stream get [ stream-flush ] when*
+    0 exit
 ] set-boot-quot
index 3d4944841d2ee642683f65db27c287d13aa21965..135679444ba8fff6fac93a793d1b8378f4219bd5 100755 (executable)
@@ -365,6 +365,7 @@ SYMBOL: deploy-vocab
         init-hooks get values concat %
         ,
         strip-io? [ \ flush , ] unless
+        [ 0 exit ] %
     ] [ ] make
     set-boot-quot ;