aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss4
1 files changed, 3 insertions, 1 deletions
diff --git a/kiss b/kiss
index 07c4dca..bd95417 100755
--- a/kiss
+++ b/kiss
@@ -71,7 +71,9 @@ dosu() {
# command allows you to input a password via stdin. To hide
# the prompt, the command's output is sent to '/dev/tty'
# and the output of 'su' is sent to '/dev/null'.
- echo "$pass" | su "${drop_to:-root}" -c "$* >/dev/tty" >/dev/null
+ su "${drop_to:-root}" -c "$* >/dev/tty" <<-EOF >/dev/null
+ $pass
+ EOF
}
pkg_lint() {