We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bb699e commit e36c3ccCopy full SHA for e36c3cc
lisp/ob-shell.el
@@ -318,7 +318,7 @@ return the value of the last statement in BODY."
318
(set-file-modes script-file #o755)
319
(org-babel-eval script-file "")))
320
(t (org-babel-eval shell-file-name (org-trim body))))))
321
- (when value-is-exit-status
+ (when (and results value-is-exit-status)
322
(setq results (car (reverse (split-string results "\n" t)))))
323
(when results
324
(let ((result-params (cdr (assq :result-params params))))
0 commit comments