diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-02-22 09:24:09 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-02-22 09:24:28 -0700 |
commit | 19eddb5197eec10e88f47a8a17c28c245c3a6594 (patch) | |
tree | 86d1c60b4ab177e2fd7153684fda47d9481f17aa /src/connection/sudo.lisp | |
parent | 9ef7ec07e0f26fa2a2748f7b880769837d8e1694 (diff) | |
download | consfigurator-19eddb5197eec10e88f47a8a17c28c245c3a6594.tar.gz |
connection type :SUDO can just use cp(1) for CONNECTION-UPLOAD
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/connection/sudo.lisp')
-rw-r--r-- | src/connection/sudo.lisp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection/sudo.lisp b/src/connection/sudo.lisp index f97f03b..1c6c374 100644 --- a/src/connection/sudo.lisp +++ b/src/connection/sudo.lisp @@ -99,4 +99,4 @@ (run :input contents (sudocmd c "cat" #?">$(path)"))) (defmethod connection-upload ((c sudo-connection) from to) - (connection-writefile c to (read-file-string from))) + (run (sudocmd c "cp" from to))) |