aboutsummaryrefslogtreecommitdiff
path: root/src/connection/shell-wrap.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-02-26 17:15:30 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-02-27 08:33:17 -0700
commitb2e153e2ec9add0dbec673283ebd58b7d13d7456 (patch)
treebe0058157e479418ec7d2315935f85b34047a7bd /src/connection/shell-wrap.lisp
parente79092a8b245a2064ebc3759a2b1543ba36f950f (diff)
downloadconsfigurator-b2e153e2ec9add0dbec673283ebd58b7d13d7456.tar.gz
simplify control flow by specialising on INPUT in CONNECTION-RUN
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/connection/shell-wrap.lisp')
-rw-r--r--src/connection/shell-wrap.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection/shell-wrap.lisp b/src/connection/shell-wrap.lisp
index e56aad4..883757b 100644
--- a/src/connection/shell-wrap.lisp
+++ b/src/connection/shell-wrap.lisp
@@ -22,7 +22,7 @@
(defgeneric connection-shell-wrap (connection cmd))
-(defmethod connection-run ((c shell-wrap-connection) cmd &optional input)
+(defmethod connection-run ((c shell-wrap-connection) cmd input)
(mrun :may-fail :input input (connection-shell-wrap c cmd)))
(defmethod connection-readfile ((c shell-wrap-connection) path)