From 239516a7db0cc6d979344e6790f3b31b828ff256 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 25 Aug 2020 13:24:45 -0400 Subject: [PATCH] Fix #3831: integer expression expected error on bin/doom Also mentioned in #3746 --- bin/doom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/doom b/bin/doom index e5decaff2..c626f0222 100755 --- a/bin/doom +++ b/bin/doom @@ -4,7 +4,7 @@ :; export __DOOMPOST="${TMPDIR:-/tmp}/doom.sh" :; $EMACS --version >/dev/null 2>&1 || { >&2 echo "Can't find emacs in your PATH"; exit 1; } :; $EMACS --no-site-file --script "$0" -- "$@" || __DOOMCODE=$? -:; [ "$__DOOMCODE" -eq 128 ] && { "$__DOOMPOST" "$0" "$@"; __DOOMCODE=$?; } +:; [ "${__DOOMCODE:-0}" -eq 128 ] && exec "$__DOOMPOST" "$0" "$@" :; exit $__DOOMCODE ;; The garbage collector isn't important during CLI ops. A higher threshold