aboutsummaryrefslogtreecommitdiff
path: root/src/util.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-06-25 14:21:16 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-06-25 16:10:57 -0700
commit7779dcd6dee9929a2e0b85a0c82c09a4331aa774 (patch)
treead5a96bac94370d40f9f7d63b6ffd24164e18d0d /src/util.lisp
parent405f2636022e49a8789dadd9a413a62e07bd4a72 (diff)
downloadconsfigurator-7779dcd6dee9929a2e0b85a0c82c09a4331aa774.tar.gz
ESCAPE-SH-COMMAND: fix parameter name
No functional change. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/util.lisp')
-rw-r--r--src/util.lisp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.lisp b/src/util.lisp
index 2442927..74aea8d 100644
--- a/src/util.lisp
+++ b/src/util.lisp
@@ -216,9 +216,9 @@ one-dimensional collections of values."
"Like UIOP:ESCAPE-SH-TOKEN, but also escape the empty string."
(if (string= token "") (format s "\"\"") (uiop:escape-sh-token token s)))
-(defun escape-sh-command (token &optional s)
+(defun escape-sh-command (command &optional s)
"Like UIOP:ESCAPE-SH-COMMAND, but also escape the empty string."
- (uiop:escape-command token s 'escape-sh-token))
+ (uiop:escape-command command s 'escape-sh-token))
(defun parse-username-from-id (output)
"Where OUTPUT is the output of the id(1) command, extract the username."