7 lines
222 B
Clojure
7 lines
222 B
Clojure
|
|
(if problem
|
||
|
|
(. System exit integerErrorCode))
|
||
|
|
;conventionally, error code 0 is the code for "OK",
|
||
|
|
; while anything else is an actual problem
|
||
|
|
;optionally: (-> Runtime (. getRuntime) (. exit integerErrorCode))
|
||
|
|
}
|