diff --git a/README.md b/README.md index 14968b21..bc9ec709 100644 --- a/README.md +++ b/README.md @@ -1106,7 +1106,9 @@ Your command line args: (1 2 3) ## Package babashka script as a AWS Lambda -AWS Lambda runtime doesn't support signals, therefore babashka has to disable handling of the SIGPIPE. This can be done by setting `BABASHKA_DISABLE_PIPE_HANDLER` to `true`. +AWS Lambda runtime doesn't support signals, therefore babashka has to disable +handling of the SIGPIPE. This can be done by setting +`BABASHKA_DISABLE_PIPE_SIGNAL_HANDLER` to `true`. ## Thanks diff --git a/src/babashka/impl/pipe_signal_handler.clj b/src/babashka/impl/pipe_signal_handler.clj index c46a10e1..e1bf83b2 100644 --- a/src/babashka/impl/pipe_signal_handler.clj +++ b/src/babashka/impl/pipe_signal_handler.clj @@ -9,7 +9,7 @@ (identical? :PIPE @pipe-state)) (defn handle-pipe! [] - (when-not (= "true" (System/getenv "BABASHKA_DISABLE_PIPE_HANDLER")) + (when-not (= "true" (System/getenv "BABASHKA_DISABLE_PIPE_SIGNAL_HANDLER")) (Signal/handle (Signal. "PIPE") (reify SignalHandler